Use the trim command to remove trailing blanks from all the lines in the document.
trim
The trim command has no parameters.
The status parameter is not affected by this command.
The trim command removes any trailing blanks in the text of a document, as done during a default editor save operation under these conditions:
- the save command is neither 'save as' (saving under a different file name) nor 'save visible' (saving only visible elements), and
- either the trim parameter was specified for the save command, or no noTrim parameter was specified for the save command and the current.save.trim setting for the document is on.
trim
Editor commands, actions, and parameters
save command
save.trim parameter
Copyright IBM Corporation 1992, 2007. All Rights Reserved.