Michael Marxmeier wrote:
>>Does anyone know a quick way, with shell script to replace a given string
>>with another string in an ASCI or Bytestream file?
>>
>
> sed -e 's/old/new/g' in > out
Perl can do this kind of stuff in-place without creating a separate file; see
http://www.perldoc.com/perl5.6/pod/perlrun.html and look at the "-i" parameter.
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *