1/21 Motdedit with Merge! (beta version)
/tmp/motdedit -m
or just /tmp/me
\_ it's not the /csua/bin/ version yet. Try it here, first.
\_ /tmp/me doesn't work because /csua/bin comes before /tmp in my
path.
\_ try me2... if /tmp is in your path, it'll go there.
\_ who would be stupid enough to put /tmp in their path?
\_ It's in my path right after "." and ".." because you
never can be quite sure where something will be.
\_ remind me to put destructive programs in /tmp named
as misspelled versions of common Unix commands.
\_ wow, cool, you'd really be the first to think of
that? you're a geneous! kewl!
\_ make an alias then.
\_ yes, this works fine, my point is that you really shouldn't
expect people to put /tmp in your path and you shouldn't put
it in your path either. delete /tmp/me and people can make
the alias if they want. or just change /tmp/me to run
/tmp/motdedit -m.
\_ It's there for the lazy:
[soda:~] 9:55 (1186)cat /tmp/me
motdedit -m
[soda:~] 9:55 (1187)cat /tmp/me2
motdedit -m
\_ Yes, I saw that before I posted. The point is that those
convenience programs are worthless because they won't work
unless you have /tmp in your path... which is something
you shouldn't do. So either rewrite them or remove them.
\_ brief description: If someone else changed motd.public as you
were editing, it attempts to merge. So far, I've only seen it
have problems when both of you have changed the same lines.
If this happens, it prompts you to manually merge(restarting
editor), if you pass, then you have the option of overwriting.
any complaints, comments, etc.: post here or mail me -nivra
\_ can you put some sort of magic anonymizer so it looks like all
the postings are from you?
\_ try this yourself; it can be fun.
\_ just make it /csua/bin/motdedit.new
don't expect people to run executables out of /tmp |