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 >
Wrap
INI File
|
2002-12-08
|
2KB
|
84 lines
[Script for Search and Replace]
Update Toolkit
Version 2.2
Funduc Software, Inc.
Copyright 2001-2003, All Rights Reserved
http://www.funduc.com http://www.searchandreplace.com
Listed below is the script syntax for Update Toolkit Search
and Replace syntax. Please see the program F1 hlp for more
information.
All text file search-replace scripts begin with the tag.
You can insert comments in two places:
1. The area here where you see this text, immediately after the
[Script for Search and Replace] tag. Comments in this area must
precede any other tags.
2. On the same line as the [Search ] and [Replace] tags. See below
for model.
There is no general comment character for text Search Replace scripts.
There should be no stray blank lines between the switches anywhere in
your script. Blank lines in the [Options] section will cause problems.
You can have multiple lines in the [Search] and [Replace] sections. If
you do you should specify '/b', for 'Binary'.
The following switches can be added to the [Search] tag:
[Search /i] Case Insensitive Search
[Search /w] Whole Word Search
[Search /h] Ignore Whitepace Mode
[Search /b] Binary Mode
[Search /x] Regular Expression Mode
Regular Expression can only be combined with /i. Other switches can be
combined with each other.
The following is the only switch for the [Replace] tag:
[Replace /b] Binary Mode
[Expression]
E1 AND E2
[Options]
Search_subdir=0
Prompt_flag=0
Output_File=
Show_Files=1
Backup Path=E:\TEMP\SRBACK\REPL
Before Hit=<
After Hit=>
Max Reg Expr=32767
Write to Backup Dir=0
Show Files Without Hits=1
Display Replace String=1
Display File Stats=1
One hit=0
Reverse Filters=0
Min Size Filter=0
Max Size Filter=0
Min Date Filter=0
Max Date Filter=0
Skip Files Mask=
Ignore Attributes=
Keep file time stamp=0
Sort File Names=3
Sort Ascending=0
Append to output file=0
Show Progress Dialog=0
Script Loop=1
[Search] This comment added to a search line.
Search string #1
[Replace /b] This comment added to a replace line.
Replacement string #1
[Search /bix]
Search string #2
[Replace]
Replacement string #2
[Path]
c:\*.ini
[Path]
d:\work\*.txt
[End of Search and Replace Script]