![]() |
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 |
| Removing the first and last lines in a file | naveendronavall | Shell Programming and Scripting | 2 | 12-30-2007 01:22 AM |
| Removing a specific word from a created list | erest8 | UNIX for Dummies Questions & Answers | 5 | 10-14-2007 05:11 AM |
| Removing parts of a specific field | kieranh | Shell Programming and Scripting | 9 | 09-28-2007 12:52 PM |
| Removing lines from a file | computersaysno | UNIX for Dummies Questions & Answers | 6 | 11-14-2006 06:50 PM |
| Removing lines from a file | PradeepRed | Shell Programming and Scripting | 4 | 12-17-2005 06:34 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Removing specific lines
Hi
I have a .conf file having many location tags like <Location /main> AuthName main AuthUserFile /ppt/gaea/passwd_main Require user admin </Location> ...... ... <Location /wonder> AuthName gaea AuthUserFile /ppt/gaea/passwd_gaea Require user admin </Location> . now I want to remove a tag having attribute "main" through shell script .Please help me how do i remove this Thanks |
|
||||
|
Redirect the output to a temporary file and replace the original file with it.
Regards |
| Sponsored Links | ||
|
|