[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
no apostrophe allowed in comment
From: |
Curtis Doty |
Subject: |
no apostrophe allowed in comment |
Date: |
Tue, 30 Jul 2013 16:04:02 -0700 |
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 substitution: no closing `)' in >(
# ain't this nifty
echo hi there
)
Is bash trying to be like tcl here? ;-)
../C
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- no apostrophe allowed in comment,
Curtis Doty <=