[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Attempted use of Here Strings (<<<) gives "unexpected token" in bash 2.0
From: |
Edgar Whipple |
Subject: |
Attempted use of Here Strings (<<<) gives "unexpected token" in bash 2.05.0 |
Date: |
Fri, 28 May 2004 11:22:24 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
From: ewhipple
To: bug-bash@gnu.org
Subject: Here Strings use (<<<) gives "unexpected token"
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd4.1
Compiler: cc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='freebsd4.1' -DCONF_MACHTYPE='i386--freebsd4.1'
-DCONF_VENDOR='' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
-I/usr/local/include -O -pipe
uname output: FreeBSD bigband.corp.yahoo.com 4.8-YAHOO-20030619 FreeBSD
4.8-YAHOO-20030619 #0: Thu Dec 11 15:11:19 PST 2003
root@bigband.corp.yahoo.com:/home/src/sys/compile/DESKTOP i386
Machine Type: i386--freebsd4.1
Bash Version: 2.05
Patch Level: 0
Release Status: release
Description:
The Bash manual describes "Here Strings" at
http://www.gnu.org/software/bash/manual/bashref.html#SEC43
When attempting to use this feature, bash complains as follows:
$ cat <<< hi
bash: syntax error near unexpected token `<<<'
Is this feature not present in this version of Bash?
Repeat-By:
$ cat <<< hi
- Attempted use of Here Strings (<<<) gives "unexpected token" in bash 2.05.0,
Edgar Whipple <=