Adrian Wontroba <a...@stade.co.uk> writes:
> Perhaps the syntax could have been " and " / " or " (as in Perl's
> and / or statement qualifiers (something() or die "oops";), but it is
> far too late to change sh syntax. We have to live with it or use a
> different shell or language.

Pop quiz: what are the semantics of the follwing command line after your
proposed change:

echo I need a box and cat litter for my new kittens.

There is absolutely nothing surprising or illogical about the && and ||
command separators.

There is absolutely nothing surprising about "zero means success, non-
zero means failure" either - that's how most Unix system calls and many
standard C library functions work.

I'm sure we all have better things to do than argue about this non-
issue.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-chat@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send any mail to "freebsd-chat-unsubscr...@freebsd.org"

Reply via email to