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
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