Odd OGFS shell behavior trying to do a heredoc (86 Views)
Reply
Occasional Contributor
jbagley2
Posts: 11
Registered: ‎07-09-2013
Message 1 of 1 (86 Views)

Odd OGFS shell behavior trying to do a heredoc

I'm trying to use a cat command with a here document in an OGFS script and keep getting an error:

 

cat: -: No such file or directory

 

I can duplicate the error on the OGFS shell easily enough:

 

[jbagley@svr-orw-hpsa-01 ~](501) $ cat << heredoc
> bleh bleh
> heredoc
cat: -: No such file or directory

 

Yet, when I do the same thing on a regular unix (bash) shell I get no error.

 

Anyone else seen this before and/or have any suggestions?

 

thanks!

 

 

 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.