Christof.Meerwald@ mfr.project

> mfr

translate to German (by SYSTRAN)


Multifile-replace applies regular expression replace patterns to multiple files. It basically does something like:

for file in ...; do
    sed -e 's/xxx/yyy/' <$file >$file.tmp;
    mv $file.tmp $file

But it is more efficient because it avoids creating temporary files and spawning a subprocess for each file.


multifile-replace [OPTION]... [FILE]...

-v, --verbose run in verbose mode
-V, --version output version information
-h, --help display this help and exit
-g, --globbing enable file globbing (DMC only)
-p, --preserve preserve file modification date/time
-s the regex substitution expression


  • C++ compiler (e.g. GNU C++)
  • POSIX regex library
  • GNU make

Installation Notes

  • edit GNUmakefile
  • run (gnu)make


> mutifile-replace-0.3.tar.gz
> mutifile-replace-0.2.tar.gz
> mutifile-replace-0.1.tar.gz


This Web page is licensed under the Creative Commons Attribution - NonCommercial - Share Alike License. Any use is subject to the Privacy Policy.

Revision: 1.5, cmeerw.org/mfr/
Last modified: Mon Sep 03 18:20:51 2018
Christof Meerwald <cmeerw@cmeerw.org>
XMPP: cmeerw@cmeerw.org