![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
SED - /10g
I,m trying to delete the 10th and onwards occurrence of "," on each line, to remove embedded commas in an address field in csv files.
I have tried sed 's/,/ /10g' file > newfile, but this doesn't work (10 without the g removes the 10th occurrence. 10g is listed on some sites as an option. I am using Solaris 2.5(?), and have tried with different shells. Greatful for any help |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|