append with eof

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ (text/html)
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Michael Havens
日付:  
To: PLUG
題目: 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