![]() |
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 to remove a range of files | gsiva | Shell Programming and Scripting | 11 | 04-04-2009 08:55 PM |
| remove part of a line | tiger99 | Shell Programming and Scripting | 16 | 02-06-2008 08:29 AM |
| Remove part of the file | chiru_h | Shell Programming and Scripting | 10 | 08-22-2007 05:15 PM |
| remove certain part of file name | braindrain | Shell Programming and Scripting | 3 | 11-28-2006 03:44 AM |
| How do I take out(remove) the date part in the file name? | ruthless | HP-UX | 5 | 02-06-2006 01:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
remove range part of a file with sed
Hello,
I would like to remove a range from a file with sed or any script command that is appropriate The section start by [b] and finish by [C] and I would like to keep [C] line Could you tell me which command I should type ? Thanks a lot, Franck My input file is like this =============== [A] aaa [b] bbb [C] ccc =============== And I would like to have in my output file [A] aaa [C] ccc |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|