Find And Replace Text command line utility. New & improved version of the well-known grep command, with advanced features such as: case-adaption of the replace string; find (& replace) in filenames, auto CVS edit.
Rate This ProjectLogin To Rate This Project
Unfortunately very buggy in the replacement string handling: can enter in a loop and generate GB of temp files with a simple (fart myfile.cfg "\\" "/") or just fail when using special chars like \,/ and others... Tested: 1.99b I suggest the alternative command tool 'gsar' from "GnuWin" project on sourceforge
tool detects file in utf as binary
At last I've managed to get some meaningfull results from it. Some text files were successfully parsed, but some system windows xp configuration files - weren't. From the program's point, they were binary, for some reason. But when I'd tried it with -b key, it requested use --bakcup too, and this key is buggy - just continued throw out error again and again like "Error: could not remove: E:\temp\CONFIG.NT.bak" Of course, there wasn't such a file in this dir. Such a crappy piece of software.
Some problems: 1. tool detects file in utf as binary. 2. On Win7 when i use -b option, it doesn't work file1 Error: could not remove: file1.bak file2 Error: could not remove: file2.bak