> At least when a non-compliance is spotted, it's fixed in the
> next release.
And this one will be, too.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong.
Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://tiswww.tis.case.edu/~c
Stephane Chazelas wrote:
>> According to Scott Moser on 10/30/2007 7:12 AM:
>>> x=$(cat <<"EOF"
>>> bad' syntax
>>> EOF
> Note that it's the same as for
>
> $(
> case a in
>a) ...
> esac
> )
These are already on the todo list. See
<[EMAIL PROTECTED]>.
> I thought the POSIX
> case a i
On Tue, Oct 30, 2007 at 06:58:10PM -0600, Eric Blake wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> According to Scott Moser on 10/30/2007 7:12 AM:
> > #= test.sh =
> > x=$(cat <<"EOF"
> > bad' syntax
> > EOF
> > )
>
> >
> > So, I'm not 100% certain what the "correct" behavi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Scott Moser on 10/30/2007 7:12 AM:
> #= test.sh =
> x=$(cat <<"EOF"
> bad' syntax
> EOF
> )
>
> So, I'm not 100% certain what the "correct" behavior is, but it
> certainly seems like this should work.
POSIX requires this to work
Scott Moser wrote:
Description:
#= test.sh =
x=$(cat <<"EOF"
bad' syntax
EOF
)
#=== end test.sh ===
[snip]
So, I'm not 100% certain what the "correct" behavior is, but it
certainly seems like this should work.
Given that:
cat << EOF
bad' syntax
EOF
...is correct syntax, IMO the same
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='b