Chgrep 1.2.4

Chgrep is a program which changes oldpatter to newpattern in lines.
Chgrep is a program which changes oldpatter to newpattern in lines.

Chgrep searches the input files (or standard input if no files are named) for oldstring and changes them to newstring. If some file and file.lock exist then chgrep leaves both files unchanged.

You can write NEWPATTERN as "NULL" to clear OLDPATTERN, i.e. "chgrep oldstring NULL somefile.c".

Chgrep is much faster than perl or sed (man memcpy, man realloc). If You have huge files which You need to change, probably You will need chgrep.

OPTIONS
-v Prints to standard output diagnostic informations.
-l Leaves copy of old file unchanged in filename.lock
-r Read all files under each subdirectory, recursively.
-i Ignore differences in case at OLDPATTERN.
-n Treat as a regular character.
-e Extended-regexp.
-h Print the version number of chgrep to standard output. This version number should be included in all bug reports (see below).

What's New in This Release:

added options:
-d Don't change modification times of altered files,
-q Quiet mode (no output at all),
-s Simulation mode.

last updated on:
February 27th, 2007, 6:05 GMT
price:
FREE!
homepage:
www.bmk-it.com
license type:
GPL (GNU General Public License) 
developed by:
Bartek Krajnik
category:
ROOT \ Utilities
Chgrep
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT