[wplug] very simple bash question..

Tim Lesher tim at lesher.ws
Tue Mar 22 11:44:59 EST 2005


On Thu, Mar 17, 2005 at 09:32:42AM -0500, Eric Cooper wrote:
> or: var=$(ps aux | wc -l)

Cool! Thirteen years with UNIX, and I'm still learning new tricks.

Is this a bashism, or does it work with sh proper?  (I don't have my
bsd laptop handy to check).

-- 
Tim Lesher <tim at lesher.ws>
http://www.lesher.ws



More information about the wplug mailing list