CLI database entry: https://cli.portablefreeware.com/?id=562
MiniTrue is a versatile utility which combines a fast and powerful search/replace functionality with a full-featured textviewer, enabling quick and efficient browsing, searching and/or modification of a large number of files. MiniTrue can operate interactively and prompt to see if a replacement should be made or it can make all desired substitutions automatically. MiniTrue can also print out matching lines in the manner of the utility grep. If no strings to search for are present, MiniTrue functions like the pager program less. Supports long file names (LFN). No Unicode support.
I'm not aware of a similar program which is as versatile. Yes there are "viewers" (less, more, type, etc), find/replace programs (find, findstr, grep, sed, etc) but I haven't seen a combination of such programs in a CLI app. Personally I find the "-i" option very powerful where you can store find/replace "pairs" in a simple text file to perform many find/replace actions on one or more files, e.g. strip all html tags, remove duplicate lines, replace words, etc. The viewer is especially helpful when testing out your find/replace/regex and allows you to use it in interactive mode.
The original program is by Andrew Pipkin (http://www.idiotsdelight.net/minitrue/) but updated by Jason Hood (http://adoxa.altervista.org/minitrue/index.html) which "fixes some LFN issues for the 32-bit DOS version, adds a Win32 console port and fixes crashes when dealing with large files"
Submit command line tools that you find here.
1 post • Page 1 of 1