Sed help

From: Raj Atwal (atwalrs_at_YAHOO.COM)
Date: 10/17/03

  • Next message: Taylor, David: "Re: Sed help"
    Date:         Fri, 17 Oct 2003 12:51:11 -0700
    To: aix-l@Princeton.EDU
    
    

    Sed being one of my weaker skills I am hoping one of you sed gurus can help me accomplish something...

    I am trying to script a way to search the file /etc/rc.tcpip and if it finds the following string

    #start /usr/sbin/xntpd "$src_running"

    to uncomment the line so it looks like

    start /usr/sbin/xntpd "$src_running"

    Any help would be appreciated.

    TIA

    Raj Atwal

    ---------------------------------
    Do you Yahoo!?
    The New Yahoo! Shopping - with improved product search


  • Next message: Taylor, David: "Re: Sed help"