On Fri, 24 Dec 2004 19:08:03 -0500, Aaron Paulley <paulley@xxxxxxxxx> wrote: > I know that the line in a file that I want to replace completely is > line number 9. > > Is there a simple function I can use to replace that line? php -r 'system( "sed 9s/.*/replacement/g old > new" );' -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php