![]() |
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 |
| Need help in removing commas | ali560045 | Shell Programming and Scripting | 1 | 04-21-2009 03:04 AM |
| removing semicolon using sed in aix--urgent | aixjadoo | UNIX for Dummies Questions & Answers | 9 | 06-16-2008 01:41 PM |
| Removing trailer from a flat file!!! | kumarsaravana_s | UNIX for Dummies Questions & Answers | 12 | 06-24-2007 03:53 AM |
| Padding zeros after removing commas in file | pranag21 | HP-UX | 1 | 11-09-2005 10:22 PM |
| removing commas from text file | hcclnoodles | UNIX for Dummies Questions & Answers | 6 | 03-26-2003 04:43 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Removing commas within semicolon in a flat file
Hi ,
Im relatively new to unix and have to process a comma serparated flat file . I recieve some of the fields in double quotes and i want to remove it .. INPUT ==== filed1,field2,field3,"fie,ld4" OUTPUT ===== field1,field2,field3,"field4" can anyone tell me how to achieve this . |
|
||||
|
I want to remove the commas that will come within double quotes ...
filed1, field2,field3,"fie,ld4" i want to remove the comma in "fie,ld4" so that the output is field1,field2,field3,"field4" note : field name are just dummy that i am using , data can be anything in strings like rahul,rohan,ansal,"bankofbaroda,dehi" iwant to remove the comma in "bankofbaroda,delhi" |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|