-
SET TRAILING - specify how to treat trailing blanks on lines
- Syntax:
- [SET] TRAILING ON|OFF|SINGLE|EMPTY
- Description:
- The SET TRAILING set command determines how trailing blanks on lines are handled when written to disk. TRAILING ON means that THE will not treat trailing blanks any differently from any other characters in the file. With TRAILING OFF, THE will remove trailing blanks when a file is read, remove them during an edit session, and not write any trailing blanks to the file. TRAILING SINGLE is the same as TRAILING OFF, except that a single blank character is appended to the end of every line when the file is written. TRAILING EMPTY is the same as TRAILING OFF, except that otherwise empty lines will be written with a single trailing blank.
- Note that the default for this under THE is ON. This is because of the way that THE processes profile files. If the default was OFF, and you had TRAILING ON in your profile, then there would be no way to retain the original trailing blanks.
- If THE is started with -u switch, the any change to TRAILING is ignored; the file will be handled as though TRAILING ON is in effect.
- Compatibility:
- XEDIT: Compatible.
- KEDIT: N/A
- Default:
- ON
- Status:
- Complete. Some trailing blank behaviour while editing files incomplete.
The Hessling Editor is Copyright © Mark Hessling, 1990-2006
<mark@rexx.org>
Generated on: 30 Jan 2006
Return to Table of Contents