-
ALL - select and display restricted set of lines
- Syntax:
- ALL [rtarget]
- Description:
- The ALL command allows for the selective display, and editting (subject to SET SCOPE ) of lines that match the specified target. This target consists of any number of individual targets seperated by '&' (logical and) or '|' (logical or).
- For example, to display all lines in a file that contain the strings 'ball' and 'cat' on the same line or the named lines .fred or .bill, use the following command
- ALL /ball/ & /cat/ | .fred | .bill
- Logical operators act left to right, with no precedence for &.
- rtarget can also be specified as a regular expression. The syntax of this is "Regexp /re/". eg ALL R /[0-9].*$/
- ALL without any arguments, is the equivalent of setting the selection level of all lines in your file to 0 and running SET DISPLAY 0 0.
- Compatibility:
- XEDIT: Compatible.
- KEDIT: Compatible.
- See Also:
- SET SCOPE, SET DISPLAY, SET SELECT
- Status:
- Complete.
The Hessling Editor is Copyright © Mark Hessling, 1990-2002
<M.Hessling@qut.edu.au>
Generated on: 15 Aug 2002
Return to Table of Contents