On Fri, 06 Aug 2010 17:31:08 +, John Kelly j...@isp2dial.com wrote:
bash --version
GNU bash, version 4.1.7(1)-release (i586-pc-interix3.5)
Backquote command substitution works, but $(...) does not.
I built it like this:
CFLAGS=-O2 -march=i686 \
./configure \
--mandir=/usr/local/man
bash --version
GNU bash, version 4.1.7(1)-release (i586-pc-interix3.5)
#! /usr/local/bin/bash
one=`cat data`
echo one=$one
two=$(cat data)
echo two=$two
one=abc
./xs: command substitution: line 7: syntax error near unexpected token `)'
./xs: command substitution: line 7: `cat data)'
two=
On Mon, 04 Dec 2006 11:53:03 -0500, Chet Ramey [EMAIL PROTECTED]
wrote:
# With -e -o pipefail, this script should exit immediately upon returning
# from the pipeline, since grep does not match its string, and returns 1.
This is not true, strictly speaking. The `-e' option applies to only