Re: rarp (and ed)
[ Andrew Stribblehill writes ]
> ....
> Ed scripts are a perfect way to edit files in-place,
> programmatically. Awk and sed are basically stream editors, and
> perl is most comfortable in this mode too.
>
> However, I seem to have shot myself in the foot since I admit,
> this script of mine ain't editing a file...
>
The sneaky way for the future:
diff -e
automatically generates an ed script to cause the differences to happen.
the original 'patch', if you will :-)
Reply to:
- References:
- Re: rarp
- From: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>