![]() |
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 print string on screen according the fixed length? | a2156z | Shell Programming and Scripting | 1 | 10-24-2008 05:29 AM |
| Combining Two fixed width columns to a variable length file | manneni prakash | Shell Programming and Scripting | 4 | 06-24-2008 08:46 AM |
| Using sed to delete string between delimiters | orno | Shell Programming and Scripting | 13 | 11-14-2007 07:33 AM |
| dev/rmt 0.1 block size is 0; variable; must be 1024 fixed. | MariaLuisa | AIX | 2 | 12-08-2006 04:27 AM |
| Inserting new line after match of a fixed string | sunil_neha | Shell Programming and Scripting | 6 | 04-13-2004 11:09 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
string deletion, variable contents, fixed delimiters
Hi,
I need to mass delete the following string(s) from my files weight=100, However the '100' is variable e.g Current: ---------------- moretext=bar, weight=100, moreinfo=blah extrastuff=hi, weight=9999, extrainfo=foo Desired: ------------------ moretext=bar, moreinfo=blah extrastuff=hi, extrainfo=foo The string to remove always begins with a weight and ends in a comma, but is surrounded by varying other strings. any ideas? Thanks! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|