Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-23-2012
Registered User
 
Join Date: Sep 2012
Location: Melbourne
Posts: 74
Thanks: 5
Thanked 7 Times in 5 Posts
Need a help in AWK

HI guys i have a file.
i need to convert it into pdf.

Last edited by Adhi; 10-24-2012 at 11:54 AM..
Sponsored Links
    #2  
Old 10-23-2012
bartus11's Avatar
Registered User
 
Join Date: Apr 2009
Posts: 3,139
Thanks: 3
Thanked 955 Times in 934 Posts
Try:
Code:
awk '{printf $0" ";for (i=1;i<=10;i++) printf $4" ";printf "\n"}' file

The Following User Says Thank You to bartus11 For This Useful Post:
Adhi (10-23-2012)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 01:09 PM.