Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Appending to a text file

Status
Not open for further replies.

stu78

Programmer
May 29, 2002
121
GB
Hi,

If I am piping values to a text file, is it possible to append new values to this same textfile, using a different set of awk commands? In other wirds I don't wish to overwrite the values already in the file

Stu
 
without seeing your awk code......
most likely you'll have to use

print stuff >> outputFile

instead of

print stuff > outputFile vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top