Short: Replaces strings in files (CLI-Pure) Author: dck@prometheus.hol.gr (D. Keletsekis) Uploader: dck@prometheus.hol.gr (D. Keletsekis) Version: 1.2 Type: util/cli Requires: WB 2+ This is a small, fast CLI command for replacing strings in files. It is pure and can be made resident. Use : Rep FromFile/A, String/A, ToString/A, ToFile, I=Insensitive/S where : FromFile - is the file you want to convert. String - The string you want to replace ToString - What you want to replace it with ToFile - (Optional) the name of the output file. If this is not given, then the INPUT FILE WILL BE OVERWRITEN! Insensitive - (Optional) Make the search case-insensitive example : rep df0:MyFile ThisString ThatString Insensitive - will replace all occurences of "ThisString" (or THISstring, or ThIsStRiNg etc) with "ThatString" and save it over the original file. There is also a GUI script included, which makes this litle command very powerful & easy to use if you want to make the same replacements in a lot of files. The GUI needs a program called Gui4Cli to run it, available at : 1.- http://users.hol.gr/~dck/gcmain.htm 2.- Aminet, under Dev/Gui/Gui4Cli.lha D. Keletsekis January 1997 This program is FreeWare, but remains the Copyright of D.Keletsekis. No guarantees as to it's performance and actions is made or implied. Use it at your own risk. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1144 811 29.1% 06-Jan-97 13:43:28 rep 3198 1322 58.6% 06-Jan-97 13:43:28 rep.gc 386 164 57.5% 06-Jan-97 13:43:28 Rep.gc.info 1413 774 45.2% 06-Jan-97 13:43:28 Rep.readme -------- ------- ----- --------- -------- 6141 3071 49.9% 17-Jan-97 19:03:08 4 files