Linker IT Software
Google
Web www.oraxcel.com
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
sed: append line to a file (Read 2065 times)
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
sed: append line to a file
18.03.10 at 08:50:03
 
sed: append line to a file
 
To append a line to a file you can use the sed command.
 
The following command appends a line with the text END to all files called inp*
 
sed -i '$aEND' inp*
 
Note $ means the end of the file
a means append
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1