Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Mgreplist: Special PWB Macro
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Mgreplist
 
     The special PWB macro Mgreplist is used by Find, Replace, Mgrep,
     Mreplace, and Mreplaceall to specify the list of files to search.
 
     When you create a list of files to search using the Files button
     in the Find or Replace dialog boxes, PWB redefines the Mgreplist
     macro with the specified list of files.
 
     To see the current list of files, choose the Files button in the
     Replace dialog box. You can change the list this dialog box, and
     either choose OK to perform the search-and-replace, or choose
     Cancel to cancel the replacement and accept the changes to
     Mgreplist.
 
     You can also insert the definition of Mgreplist into the current
     file by using the phrase:
 
          Arg Meta "Mgreplist" Tell
          («Arg» «Meta» Mgreplist «Tell»)
 
     You can edit the macro, then redefine it by using the Assign
     function («assign»).
 
     Syntax
 
     Mgreplist:= "<list>"
 
     <list>    Space-separated list of filenames
 
     The filenames can use operating-system wildcards '*' and '?' and
     environment-variable specifiers.
     See: Environment-Variable Specifiers
 
     Note that backslashes (\) must be doubled in the macro string.
     See: Macro String Syntax
 
     See
 
     Assign, Tell, Mgrep, Mreplace, Mreplaceall
     Search menu, Find
     Search menu, Replace
                                    -♦-