Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

PATTERNS

DM RANGE

DM COMMANDS

7.0;so (substitute_once) *DM*, revision 7.0, 83/08/16
SO (SUBSTITUTE_ONCE) -- Substitute only first occurrence per line of matched
string.
usage:  [range]so[[/[string1]]/string2]


FORMAT

  [range]SO[[/[string1]]/string2]


  The  SO command is identical to the S (SUBSTITUTE) command except that string2
  replaces only the first occurrence of string1 in  each  line  of  the  defined
  range of text.


RELATED TOPICS

  More information is available.  Type:

  - HELP S
    for details about the general substitute command.

  - HELP PATTERNS
    for details about regular expressions.

  - HELP DM RANGE
    for details about text editing ranges.

  - HELP DM COMMANDS
    for a list of other pad editing commands.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026