in reply to Shell v Perl, here-doc as stdin
But yeah, jasonk is right. But if you want to print until END, like in his first example, I have one caveat: Make sure there is a definate empty line with nothing on it before the END and that the E is the VERY first character on the line.. Sometimes it'll act wierd and not find it as it might have a space or what-not before it.
--Coplan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Shell v Perl
by jasonk (Parson) on Apr 10, 2003 at 17:03 UTC | |
by Coplan (Pilgrim) on Apr 10, 2003 at 17:28 UTC | |
by Tomte (Priest) on Apr 11, 2003 at 08:01 UTC |