append with eof

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: PLUG
Subject: append with eof
Okay now, I learned just today how >> works and I want to update all of my
reinstall scripts so all I need to do is copy-n-paste into a terminal and
everything will be done. Learned when I was doing Linux from scratch that
to create a file of multiple lines without starting an editor you do:

*cat > filename << "EOF"
*contents

*of*

*file*

*EOF*

Oh.... I think I get it. just turn the '>' into '>>'
am I correct?

:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss