Server Automation Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Odd OGFS shell behavior trying to do a heredoc

Highlighted
jbagley2
Occasional Advisor

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!

 

 

 

//Add this to "OnDomLoad" event