<<<
$ make || echo hello
make: *** No targets specified and no makefile found. Stop.
hello
>>>
But OTOH:
<<<
(make | echo) || echo hello
make: *** No targets specified and no makefile found. Stop.
>>>
And also:
<<<
$ (echo | make) || echo hello
make: *** No targets specified and no makefile found. Stop.
hello
>>>
I want that if one of the (first) components of the pipeline exits with an
error code, I'll know about it somehow. How?
Regards,
Shlomi Fish
----------------------------------------------------------------------
Shlomi Fish [EMAIL PROTECTED]
Home Page: http://t2.technion.ac.il/~shlomif/
Writing a BitKeeper replacement is probably easier at this point than getting
its license changed.
Matt Mackall on OFTC.net #offtopic.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]