GNU bug report logs -
#13028
inplace: new program
Previous Next
Full log
Message #23 received at 13028 <at> debbugs.gnu.org (full text, mbox):
> On 11/29/2012 03:20 PM, Reuben Thomas wrote:
> > On Fri, 14 May 2004 15:53:04 +0600 (YEKST), Victor Porton offered his handy "inplace" script to coreutils, which runs a filter on a file in-place...
Pádraig Brady <P <at> draigBrady.com> said:
> I definitely think this is worthwhile.
> In fact I mostly finished such a script here
> that would handle all the atomic, backup, permissions, etc.:
> http://lists.gnu.org/archive/html/bug-coreutils/2010-03/msg00213.html
> See also: http://www.pixelbeat.org/docs/unix_file_replacement.html
...
> Also I was wondering what to call it. rp, inplace, replace, ...
> and in the meantime I noticed David Wheeler proposed much the same thing
> with the "rewrite" util:
> http://permalink.gmane.org/gmane.comp.standards.posix.austin.general/5348
...
> I'll work on this script after I finish a pending
> SELinux patchset I'm working on.
I'm delighted to hear that people are working this... thank you!
A request: Please make sure you include single-letter flags for key options; that'll help get it into the POSIX spec. People are more likely to use tools like these if their interface is "available everywhere", and I think getting it (eventually) into the POSIX spec would help make that happen.
Also, please maximally steal useful syntax/examples/ideas from:
http://permalink.gmane.org/gmane.comp.standards.posix.austin.general/5348
My hope is that this in-place edit tool will just "do the job well".
--- David A. Wheeler
This bug report was last modified 2 years and 279 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.