The only problem to me is that it says AND-OR since they are not C-style
logical operators.
It should just say conditional execution.
___
freebsd-chat@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send
On Fri, Jul 17, 2009 at 04:57:12PM -0600, Brett Glass wrote:
Short-Circuit List Operators
``'' and ``||'' are AND-OR list operators. ``'' executes the first
command, and then executes the second command if the exit status of the
first command is zero. ``||'' is similar, but
At 06:01 PM 7/17/2009, Adrian Wontroba wrote:
No it is succinctly correct but confusing (the UNIX way?). These
operators work on exit codes where 0 = success = true and and !0 =
failure = false.
As I understand it, when it comes to UNIX result codes, 0 doesn't
really mean true -- it means no
On Fri, Jul 17, 2009 at 07:21:14PM -0600, Brett Glass wrote:
At 06:01 PM 7/17/2009, Adrian Wontroba wrote:
No it is succinctly correct but confusing (the UNIX way?). These
operators work on exit codes where 0 = success = true and and !0 =
failure = false.
As I understand it, when it comes to