Re: OT - BASH question?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx
http://www.ycc.com
spamSTOMPER Protected email


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux