[Techtalk] the finer points of kernel customization

dominik.schramm at gmxpro.net dominik.schramm at gmxpro.net
Tue Mar 23 21:47:58 EST 2004


Hi, 

I've got one small correction to make.

Travis Casey <efindel at earthlink.net> writes:

> Using "&&" for this is a trick.  "&&" actually does the logical "and" 
> function -- namely 
>
>   command 1 && command 2
>
> returns 0 (which is "true" in shell-ese) if both command 1 and command 2
> ran and didn't return any error codes.

If command 1 has exit code 0, then (and only then)
command 2 is run and the whole "term" returns
_whatever_command_2_returns_.
Try:
$ true && false

regards,
dominik



More information about the Techtalk mailing list