home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / util / cli / rep.readme < prev    next >
Encoding:
Text File  |  1997-03-02  |  1.8 KB  |  55 lines

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