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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirect

Status
Not open for further replies.

ovince

Programmer
Feb 27, 2007
55
FR
Hi

Colud somebody tell me how to make changes on file by awk and to redirect into file wih same name

awk '{print $1, $2/2}' f1 > f1

does not work of course but must be a way to do it no?

thanks
oliver
 
ahhhh ... ok. I found a easy way with pipeline and mv command
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top