Re: [dev] situ — change files in situ

From: Strake <>
Date: Fri, 13 Apr 2012 10:04:53 -0500

On 13/04/2012, Connor Lane Smith <> 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.

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