Need a help in AWK | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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 !!

Need a help in AWK

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-23-2012
Adhi Adhi is offline
Registered User
 
Join Date: Sep 2012
Last Activity: 10 May 2013, 4:45 PM EDT
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
bartus11 bartus11 is offline Forum Staff  
Moderator
 
Join Date: Apr 2009
Last Activity: 22 August 2014, 12:09 PM EDT
Posts: 3,708
Thanks: 7
Thanked 1,141 Times in 1,112 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:31 AM.