Re: while and cats

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nathan Aubrey
Date:  
To: Main PLUG discussion list
Subject: Re: while and cats

> Since he's outputting to html, he probably really does want to use a
> "here document" at some point for formatting.
>
> The trick there, I think, is in the indenting. If never sees the "EOF"
> because it's indented. Check the manpage for bash to see about alternate
> forms of <<EOF which ignore leading whitespace...


Brilliant, thank you! I didn't realize that it could not be intdented. Removed
the indentation and it works like a charm. Throws off all my pretty
structure, but I like the cat better than echo'ing all that.

Thank you very much.

nathan
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss