![]() |
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 |
| Cut specific fields from a file containing multiline records | sunayana3112 | UNIX for Dummies Questions & Answers | 3 | 04-14-2009 10:21 AM |
| Finding & Replacing specific Fields | ddraj2015 | UNIX for Dummies Questions & Answers | 2 | 01-15-2009 06:38 PM |
| Parse apart strings of comma separated data with varying number of fields | 2reperry | Shell Programming and Scripting | 7 | 09-12-2008 01:33 PM |
| Remove Data from Fields | greengrass | UNIX for Dummies Questions & Answers | 4 | 01-15-2007 05:41 PM |
| Passing specific fields from files as variables | keladar | UNIX for Dummies Questions & Answers | 4 | 04-13-2005 06:00 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Remove specific strings from certain fields
I'm working with a set of files where I'm trying to remove a set of characters from specific fields. The files are comma-delimited, and the characters I want to remove include:
- open parentheses - ( - close parentheses - ) - space followed by a dollar sign - $ I don't want to remove every occurrence of these characters as they may occur in fields that I don't want to remove the data from. How can I remove specific strings from specific fields, like the 4th or 5th fields in a .csv per the information provided above? Thanks much! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|