home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / new / util / cli / parex / docs / ref_commands.doc (.png) < prev    next >
ANSI Art File  |  1994-02-17  |  4KB  |  640x1520  |  4-bit (3 colors)
Labels: text | screenshot | font | black and white
OCR: < < <<< PARex v3.10 >>> > > REFERENCE: COMMANDS - Release : 16-Jan-94 Copyright 1991-1994 Chris P. Vandierendonck, [AmiSYS]. Main commands. INIT <str> Function: insert string at beginning of target file. Sub-cmds: [CAPIDECAP] [MINSIZE <# bytes>] [MAXSIZE <# bytes>] [LEFTFILLIRIGHTFILL <0 .. 255>] CLOSE <str> Function: add string to end of target file. Sub-cmds: [CAPIDECAP] [MINSIZE <# bytes>] [MAXSIZE <# bytes> ] [LEFTFILLIRIGHTFILL <0. . 255> ] REPL <str> BY <str> Function: replace a string by another. Sub-cmds: [OR <str> WHEN <name>] [WILD] [WORD] [CONTEXT] [TIMES <#> ] [EVERY <#> ] [AFTER <#> ] [CASE] [NOCASE] [FIXCASE] [CAPIDECAP] [FIT] [ZERO] [MINSIZE <# bytes>] [MAXSIZE <# bytes>] [LEFTFILLIRIGHTFILL <0. . 255>] STRIP [+ ]-]<str> TO [+1-K<str> Function: strip all text between two strings, including the strings themselves. Codes : " -> add before string to prevent stripping it "+" -> add before string to allow stripping it. Sub-cmds: [NEST] [WILD] [WORD] [TIMES <#>] [EVERY <#> ] [AFTER <#> ] [CASE] [NOCASE] [FIXCASE] [CAPIDECAP] CAP <str> Sub-cmds: [WILD] [WORD] [TIMES <#>] [EVERY <#>] [AFTER <#> ] Function: [CASE] [NOCASE] [FIXCASE] DECAP <str> Function: Sub-cmds: [WILD] [WORD] [TIMES <#>] [EVERY <#>] [AFTER <#> ] [CASE] [NOCASE] [FIXCASE] Sub-commands . AFTER <#> Only use main-cmd after given occurences. CAP Put all replStr text in upper case. CASE Set case-sensitive searching for main-cmd. CONTEXT Enable context remembering . DECAP Put all replStr text in lower case. EVERY <#> Only use main-cmd every xth occurrence. FIT Cut replStr when longer than searchStr. FIXCASE LEFTFILL <0.255> Fixate CASE and NOCASE sub-cmds. Add left of replStr with defined byte. MAXSIZE <# bytes> Set maximum size of replStr. MINSIZE <# bytes> Set minimum size of replStr. NEST Strip nested "comments". NOCASE Set non-case-sensitive searching for main-cmd . RIGHTFILL <0.255> Add right of replStr with defined byte. TIMES <#> Only replace given number of times. WHEN <name> Use OR string if name matches WHEN option. + WILD Enable wild-card searching. + WORD Enable word-only searching . + ZERO Append replStr when shorter than searchStr. (The sub-cmds marked with '+' can be used as global options. ) 1 Script-commands. EXITPXS Force program to leave data script. GLOBAL Define a block of replace commands. MODE <name> Define a named block of replace commands