home *** CD-ROM | disk | FTP | other *** search
/ ftp.funduc.com / 2014.08.ftp.funduc.com.tar / ftp.funduc.com / udtktshr.zip / SearchReplaceScriptSyntax.txt < prev    next >
INI File  |  2002-12-08  |  2KB  |  84 lines

  1. [Script for Search and Replace]
  2.  
  3.                         Update Toolkit
  4.                           Version 2.2
  5.                       Funduc Software, Inc.
  6.                Copyright 2001-2003, All Rights Reserved
  7.    http://www.funduc.com      http://www.searchandreplace.com
  8.  
  9.   Listed below is the script syntax for Update Toolkit Search
  10.   and Replace syntax. Please see the program F1 hlp for more 
  11.   information.
  12.  
  13. All text file search-replace scripts begin with the tag. 
  14.  
  15. You can insert comments in two places: 
  16.   1. The area here where you see this text, immediately after the 
  17.      [Script for Search and Replace] tag. Comments in this area must 
  18.      precede any other tags. 
  19.   2. On the same line as the [Search ] and [Replace] tags. See below 
  20.      for model.
  21.  
  22. There is no general comment character for text Search Replace scripts.
  23.  
  24. There should be no stray blank lines between the switches anywhere in 
  25. your script. Blank lines in the [Options] section will cause problems.
  26. You can have multiple lines in the [Search] and [Replace] sections. If 
  27. you do you should specify '/b', for 'Binary'.
  28.  
  29. The following switches can be added to the [Search] tag:
  30.  
  31.   [Search /i]   Case Insensitive Search
  32.   [Search /w]   Whole Word Search
  33.   [Search /h]   Ignore Whitepace Mode
  34.   [Search /b]   Binary Mode
  35.   [Search /x]   Regular Expression Mode
  36. Regular Expression can only be combined with /i. Other switches can be 
  37. combined with each other. 
  38.  
  39. The following is the only switch for the [Replace] tag:
  40.  
  41.   [Replace /b]   Binary Mode
  42.  
  43. [Expression]
  44. E1 AND E2
  45. [Options]
  46. Search_subdir=0
  47. Prompt_flag=0
  48. Output_File=
  49. Show_Files=1
  50. Backup Path=E:\TEMP\SRBACK\REPL
  51. Before Hit=<
  52. After Hit=>
  53. Max Reg Expr=32767
  54. Write to Backup Dir=0
  55. Show Files Without Hits=1
  56. Display Replace String=1
  57. Display File Stats=1
  58. One hit=0
  59. Reverse Filters=0
  60. Min Size Filter=0
  61. Max Size Filter=0
  62. Min Date Filter=0
  63. Max Date Filter=0
  64. Skip Files Mask=
  65. Ignore Attributes=
  66. Keep file time stamp=0
  67. Sort File Names=3
  68. Sort Ascending=0
  69. Append to output file=0
  70. Show Progress Dialog=0
  71. Script Loop=1
  72. [Search]          This comment added to a search line.
  73. Search string #1
  74. [Replace /b]      This comment added to a replace line.
  75. Replacement string #1
  76. [Search /bix]
  77. Search string #2
  78. [Replace]
  79. Replacement string #2
  80. [Path]
  81. c:\*.ini
  82. [Path]
  83. d:\work\*.txt
  84. [End of Search and Replace Script]