[PLUG] looping over file names in numeric order in bash?

Paul Heinlein heinlein at madboa.com
Wed Feb 7 20:22:38 UTC 2007


On Wed, 7 Feb 2007, Galen Seitz wrote:

> One more question.   Why $(...) rather than `...` ?

See 'Command Substitution' section in a recent bash(1) man page. I 
think $(command) is the POSIX recommendation, though the "Shell 
Command Language" documents at opengroup.org list both as acceptable.

http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03
http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001_006_003

-- 
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com



More information about the PLUG mailing list