OT - BASH question?
Bill Gradwohl
bill at ycc.com
Sat Apr 16 03:00:30 UTC 2005
Alexander Dalloz wrote:
>I think what Bill wants is differently.
>
>http://www.tldp.org/LDP/abs/html/process-sub.html
>
>while read line; do
> whatever
>done < <(command)
> whatelse
>
>proc=""
>while read line; do
> proc="${proc} ${line}"
>done < <(ps -eo "%p")
>echo ${proc}
>
>
That's exactly what I was looking for.
Thank You very much.
Thanks also to the other replies as they were interesting as well.
--
Bill Gradwohl
bill at ycc.com
http://www.ycc.com
spamSTOMPER Protected email
More information about the users
mailing list