SUNEDIT Commands


  

The following topics detail each command of SUNEDIT. Required syntax as well as examples for each are given.

  

Append Commands

Copy Commands

Delete Commands

End Commands

Display or Print Commands

Find or Locate Commands

Line Retrieval Commands

Insertion Commands

Modification Commands

Tab Commands

Line Manipulation Commands

Shift Inversion Commands

User Defined Macros

Miscellaneous Commands

Function Keys

  

Many of the commands use secondary specifications to further limit the scope of that particular command. Those secondary specifications that are common throughout are defined below:

N

Used during the file search commands to indicate a NOT condition, i.e., FIND the lines that do not contain a particular string. Used during the repetitive modify mode to signify no re-display until all modifications are completed.

S

Used during the file search commands to indicate comment lines are to be skipped during the search. Comment lines are defined as any line that begins with a semi-colon (;), period (.), asterisk (*), or plus (+).

V

Used during data modification commands to request verification from the operator that the string located and about to be modified is the correct command. An answer of 'Y' (no enter key is necessary) indicates that the string is correct and the operation is to be performed. An answer of 'N' (no enter key) indicates that the string is not correct. Bypass and continue the search with the next occurrence in the data file.

n or m

Various commands may function on a particular field. The parameter of 'n' in a command indicates that the command is to be executed only within the positions defined for that field. Any overflow of data (caused as a result of a modify instruction, etc.) is truncated from the data record. Data contained in fields before or beyond the specified field is not considered during find or locate commands, nor is data modified by that particular command.

  

Some commands may be specified as a range of fields by specifying the field parameter as n,m. This limits the command to operate only within fields n through and including m.

  

It is also possible to limit commands to absolute positions within the record by specifying the field parameter as n:m. This limits the command to operate only on columns n through and including m.

  

All commands and their secondary parameters may be entered in upper or lower case. For example, :mg is converted internally to :MG and functions exactly the same.

  

  

See Also: Line Edit Mode, SUNEDIT, Utilities

  



System Utilities Command Table Clear (PLBDBUG)