[TriLUG] bash question

Joseph Mack NA3T jmack at wm7d.net
Wed Oct 17 17:50:56 EDT 2007


On Wed, 17 Oct 2007, David Brain wrote:

> Smells nasty, but...
>
> CMDA="ls |"
> CMDB="wc -l"
> bash -c "$CMDA$CMDB"

hmm, it's the "-c" that I've been missing. If I leave it 
out, then I get the same error that lead to my original 
posting.

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the TriLUG mailing list