Today I ran across this usage of the 'Process Substitution' trickery
supported by BASH:
{ command1 ; command2 ; command3 } > >( tee -a $someLogFile ) 2>&1
...and wondered how it differs from (or is preferable to) this:
{ command1 ; command2 ; command3 } | ( tee -a $someLogFile ) 2>&1
Probably some subtle named-pipe versus unnamed-pipe difference, ya?
If you haven't messed with this 'Process Substitution' stuff
before, examples like the following could (as my favorite oracle
might say) "bake your noodle":
ls -l <( echo )
echo <( ls -l )
...my noodle is currently al dente. (I mean, all denty...)
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************