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

AWK :- Print all fields other than the first field in a variable rec 1

Status
Not open for further replies.

applebala

Programmer
Mar 6, 2001
8
US
I am a new user to awk
I am trying to print all fields other than the first field in a variable length record. How do we do that ?
 
applebala-

awk '{$1="";print}' infile > outfile

This should do it.



flogrr
flogr@yahoo.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top