Re: no apostrophe allowed in comment

2013-08-01 Thread Chet Ramey
On 7/30/13 7:04 PM, Curtis Doty wrote: > The above works. Whereas the below fails. > > #! /bin/bash -ex > # > > tee >( > # ain't this nifty > echo hi there > ) > > It burps thusly: > > ./foo.sh: line 7: bad substitution: no closing `)' in >( > # ain't this nifty > echo

no apostrophe allowed in comment

2013-07-30 Thread Curtis Doty
When the comment is inside of a substituted process. #! /bin/bash -ex # tee >( # this is nifty echo hi there ) The above works. Whereas the below fails. #! /bin/bash -ex # tee >( # ain't this nifty echo hi there ) It burps thusly: ./foo.sh: line 7: bad substit