On Tue, 17 Feb 2004, Saint Aardvark the Carpeted wrote:
> Jack L. Stone disturbed my sleep to write:
> > This would be the steps:
> > - grep(1) the new string and pipe to sed(1) ..??
> > - sed(1) to find the old string & replace with the new string in a file.
> > Am I on the right track??
>
>
Jack L. Stone disturbed my sleep to write:
> This would be the steps:
> - grep(1) the new string and pipe to sed(1) ..??
> - sed(1) to find the old string & replace with the new string in a file.
> Am I on the right track??
I think so, yeah -- something like this should work:
#!/bin/s