Library /sys$common/syshlp/LSE$HELP.HLB  —  PATTERN_SUBSTITUTE
  Syntax:  PATTERN SUBSTITUTE pattern_search_string replace_string
              substitute_type

  Replaces any string matching the given string, which may contain
  wildcards.

  This command enables you to specify wildcard patterns in the search
  string.  LSE replaces any string of characters meeting the wildcard
  search criteria with the replace string.  Use the SET SEARCH PATTERN
  command to specify the style of wildcard patterns (VMS, ULTRIX or
  TPU).

  By default, this command performs case matching when replacing text.
  For example, if a word in a search string is all uppercase, all the
  letters in the corresponding replace string become uppercase.  LSE
  prompts you for confirmation before the replacement is made.  If you
  specify the parameter value all at the confirmation prompt, all
  occurrences of the search string are replaced with the replace
  string.

  For the TPU pattern style the pattern_search_string is a TPU
  expression which must evaluate to a TPU pattern (for example:  "'abc'
  | 'def'") and the replace_string is a TPU expression which must
  evaluate to a TPU string (for example:  "'xyz'").

  For details of the pattern styles use the command HELP PATTERNS.

  RELATED COMMANDS:

     EXACT SUBSTITUTE            SEARCH
     PATTERN EXACT SUBSTITUTE    SET SEARCH commands
     PATTERN SEARCH              SUBSTITUTE
Close Help