Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

Limitation on length of here documents

Michael Klapp
Occasional Visitor

Limitation on length of here documents

Hello,
I have encountered a situation which seems to suggest there may be a limit to the size of here documents. Can anyone tell me what that limit is?
3 REPLIES
Bill Hassell
Honored Contributor

Re: Limitation on length of here documents

I don't know of a practical limit other than the ability of the shell to add more RAM while runs the script. I've had a 200 line here document (part of an email messge generator) that had no problems.


Bill Hassell, sysadmin
Michael Klapp
Occasional Visitor

Re: Limitation on length of here documents

Have you noticed a limit to the length of here document names? I refer to the identifier that follows the <<- or <<.
Michael Klapp
Occasional Visitor

Re: Limitation on length of here documents

FWIW - This is not a limitation on the length of anything. There was a trailing space on the closing tag. Once removed, all was well.
Thank you.