Using text in commands
The append, insert and change lines commands all use a supplied text string to add to the output stream.
This text string conforms to the following rules:
- Can be one or more lines long.
- Each \n (new-line character) inside Text must have an additional \ character before it (\\n).
- The Text string ends with a new-line that does not have an additional \ character before it (\n).
- Once the command inserts the Text string, the string:
- Is always written to the output stream, regardless of what other commands do to the line that caused it to be inserted.
- Is not scanned for address matches.
- Is not affected by other editing commands.
- Does not affect the line number counter.