Sed help

From: Raj Atwal (atwalrs@YAHOO.COM)
Date: Fri Oct 17 2003 - 15:51:11 EDT


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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:17 EDT