![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change field seperator | onthetopo | Shell Programming and Scripting | 2 | 05-11-2007 12:11 PM |
| regexp to print after a field seperator | ramky79 | Shell Programming and Scripting | 7 | 05-09-2007 06:31 PM |
| Using | as a seperator in join | firvin | UNIX for Dummies Questions & Answers | 5 | 03-28-2006 11:23 AM |
| how i can use a WORD for seperator | qrshat | SUN Solaris | 3 | 02-10-2006 07:08 AM |
| Awk Field Seperator Help | insania | Shell Programming and Scripting | 3 | 11-11-2005 04:29 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Comma seperator
I am trying to create a new CSV file from an existing CSV file whose content is as follows:
"1","Tom,Garry","111" "2","Tom,Garry","222" when i use Cat file | cut –d’,’ –f1,3 or awk to have only the 1st and 3rd column in my new CSV file, instead of creating a file content as "1","111" "2","222" It is creating as "1",Garry" "2",Garry" This is because of the comma in the second field. Could you please help me how to sort it out. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|