![]() |
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 |
| Deleting lines from a file | Nirgude07 | UNIX for Advanced & Expert Users | 11 | 07-01-2009 02:09 PM |
| deleting particular lines and moving a line up using perl/sed | sabyasm | Shell Programming and Scripting | 5 | 12-12-2007 05:59 PM |
| deleting lines using awk-best way? | satnamx | Shell Programming and Scripting | 3 | 08-29-2007 07:24 PM |
| deleting lines | ajnabi | Shell Programming and Scripting | 8 | 05-02-2003 11:50 AM |
| deleting lines | supercbw | High Level Programming | 1 | 05-06-2002 12:53 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Deleting lines above a certain line
Hi,
I have a file that gets automatically generated and it would look something like sakjsd adssad {{word}} sddsasd dsdsasa . . . So basically what I want to do is just keep the stuff below the {{word}} marker. The marker includes the brackets. Is there any command to delete the "{{word}}" and everything above it and just keep what is below it? Thanks! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|