cga2000 wrote:
On Tue, Dec 18, 2007 at 09:57:44PM EST, Matthew Woehlke wrote:
You might want to look at bash's command redirection instead.

?

Sorry, the "correct" term (at least, what the manpage uses :-) ) is "process substitution". Conceptually, it's a bit like writing pipes backwards. For example, 'read l < <(netstat | sed -n 5p)' stores the fifth line of the output from 'netstat' in the variable 'l'.

--
Matthew
"It's ok, I forgive you. I often confuse cream cheese with happiness myself ;-)" -- Jeremy Whiting (responding to a rather strange yet amusing conversation I'd started; also, I agree with the sentiment)



Reply via email to