suggestion: cat file | sed s/search/replace/gi >file2;cp file2 file1;
----- Original Message ----- From: "John Hasler" <[EMAIL PROTECTED]> To: <debian-user@lists.debian.org> Sent: Monday, January 08, 2001 1:29 AM Subject: Re: Command line search and replace > csj writes: > > Is there a tool to do a search-and-replace from the command line? > > Something along the lines of: > > > replace "string one" "string foo" files-to-process > > Look at awk and sed. > -- > John Hasler > [EMAIL PROTECTED] > Dancing Horse Hill > Elmwood, Wisconsin > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >