THE

SORT - sort selected lines in a file

Syntax:
SORT target [[sort field 1] [...] [sort field 10]]

Description:
The SORT command sort a portion of a file based on the sort field specifications.

A sort field specification consists of:

order flag - [Ascending|Descending]
left column - left column of field to sort on
right column - right column of field to sort on

The right column MUST be >= left column.

Only 10 sort fields are allowed.

target can be any valid target including ALL, *, -*, and BLOCK.

Compatibility:
XEDIT: XEDIT only allows ordering flag for all fields
KEDIT: Compatible.

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