Re: [dev] situ — change files in situ
On 13/04/2012, Connor Lane Smith <cls_AT_lubutu.com> wrote:
> I wonder whether a situ-like could be used to produce a diff of the
> original file, rather than a complete second copy. Programs like sed
> don't generally make that many changes, so if we were to connect situ
> to the file and the cmd's stdout we could compute the diff and then
> patch the original file once cmd exits 0. If someone could get that
> working it would be pretty sweet.
I'm not sure why — this method seems ultimately functionally equivalent to mine.
Perhaps I fail to ken your logic here.
Cheers,
strake
Received on Fri Apr 13 2012 - 17:04:53 CEST
This archive was generated by hypermail 2.3.0
: Fri Apr 13 2012 - 17:12:03 CEST