GNU bug report logs - #13028
inplace: new program

Previous Next

Package: coreutils;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Thu, 29 Nov 2012 15:24:01 UTC

Severity: wishlist

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: bug-coreutils <bug-coreutils <at> gnu.org>
Subject: inplace
Date: Thu, 29 Nov 2012 15:20:47 +0000
[Message part 1 (text/plain, inline)]
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. A
couple of replies said there was no need for this as one could do in-place
editing with perl or sed, but I think that was misguided, as the point of
inplace is that it works with any filter. I just used it with xml_grep:

inplace "xml_grep --exclude 'ul[@class=\"toc\"]' \"\$IN\" > \"\$OUT\""
"$book.xhtml"

I attach an updated version of inplace with some bashisms and typos fixed.

-- 
http://rrt.sc3d.org
[Message part 2 (text/html, inline)]
[inplace (application/octet-stream, attachment)]

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.