[HPADM] sed or awk commands to replace a line beginning with

From: Jack Gallagher (jgallagher@practice-alt.com)
Date: Thu Oct 10 2002 - 10:25:15 EDT


Hi Admins;

        This is an easy one but I can't find it in my sed/awk book.

        I want to replace the entire line beginning with abc with another string.
In other words I want to delete the line and replace it with another line.

        Thanks and I will summarize,
        Jack

Jack Gallagher
Sr. Unix Admin.
GVTI
95 Great Valley Parkway
Malvern, PA 19355
jgallagher@practice-alt.com
610-647-2210 X103

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:20 EDT