![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help with awk delimited by |~| in a record | knijjar | Shell Programming and Scripting | 11 | 04-06-2008 01:03 PM |
| Delimited File Help | garpal | UNIX for Dummies Questions & Answers | 6 | 03-28-2008 09:58 AM |
| Delimited files | hrshah74 | Shell Programming and Scripting | 4 | 02-01-2006 12:42 PM |
| Converting Tab delimited file to Comma delimited file in Unix | charan81 | Shell Programming and Scripting | 22 | 01-20-2006 09:24 AM |
| Comma Delimited Output w/ egrep | indianadoug | Shell Programming and Scripting | 2 | 03-10-2005 04:20 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
awk - delimited output
Hi
I am looking for syntax in awk, where I am printing comma separated coulmns read from delimited file. Say for e.g. awk -F":" '{print $1","$2","9}' fname Instead of using "," withing print syntax,is there any way by which fields being printed will automatically get delimited by comma? NOTE : Example mentioned above is just marginal subset of columns to be displayed. Thanks in advace. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|