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

Awk script help..

Status
Not open for further replies.

driddickemc

IS-IT--Management
May 3, 2004
42
0
0
US
have a file..e.g.

list1
list2
list3
list4
.
.
.

want to convert to

list1 list2 list3 list4 ....

New to awk and the whole scripting thing..

Thanks
D-
 
Found the answer.

cat list2 | xargs -n40 echo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top