Server Automation Support and News Forum
Showing results for 
Search instead for 
Do you mean 

Odd OGFS shell behavior trying to do a heredoc

Occasional Contributor

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!