Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
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
                                    -♦-