[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Here Strings use (<<<) gives "unexpected token"
From: |
Edgar Whipple |
Subject: |
Here Strings use (<<<) gives "unexpected token" |
Date: |
Fri, 28 May 2004 11:24:40 -0700 (PDT) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Here Strings use (<<<) gives "unexpected token",
Edgar Whipple <=