![]() |
|
|
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 |
| Search, replace string in file1 with string from (lookup table) file2? | gstuart | Shell Programming and Scripting | 9 | 06-08-2009 07:11 AM |
| Replace One String With Another String | bhaviknp | Shell Programming and Scripting | 14 | 02-18-2008 10:46 AM |
| How to find vowel's occurence in a string | Nidhi2177 | Shell Programming and Scripting | 4 | 09-06-2007 02:54 AM |
| Greping a string for only one occurence | Piscian | Shell Programming and Scripting | 17 | 07-25-2007 02:29 PM |
| How can I rename multiple files depending on a string occuring in the filenames? | karman | UNIX for Dummies Questions & Answers | 6 | 05-22-2007 03:29 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Depending upon the occurence of string 'xyz', I want to remove -t from the input file.
There is not a fixed length input file. Any suggestions Input file: this is xyz line -t of the data this is line 2 of -t of the data xyz this is line 3 of -t the file this is line xyz of the -t file this is line 5 of the file -t Ouput file: this is xyz line of the data this is line 2 of -t of the data xyz this is line 3 of the file this is line xyz of the file this is line 5 of the file -t |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|