![]() |
|
|
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 |
| dynamic editing using shell script | habzone2007 | Shell Programming and Scripting | 1 | 05-14-2008 11:55 PM |
| Reading file names from a file and executing the relative file from shell script | anushilrai | Shell Programming and Scripting | 4 | 03-10-2006 05:25 AM |
| Editing files in shell programing | nir_s | Shell Programming and Scripting | 0 | 07-13-2005 05:53 AM |
| Editing a file in a shell script | jowpup | UNIX for Dummies Questions & Answers | 3 | 02-08-2005 04:45 AM |
| Editing a file using a script | Ypnos | Shell Programming and Scripting | 45 | 07-02-2003 10:39 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
editing a file via a shell script ??
Morning All: I know this might be easy but since I don't do this very often I get stumped real quick... Sun box Solaris 8 ksh...
I need to edit a file via a shell script. In this file I need to locate one specific line and then remove that line plus the next 20 line below that.... Any suggestions on where to start?? I could use sed to search for the first line in question.. but not sure what to do after that. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|