1 03/11/76 sort, sor
2
3 Function: The sort command arranges the current file in ascending
4 sequence by line number. When more than one line has the same line
5 number, the last one is retained. Lines that are not numbered are
6 deleted. Text in the alter file is merged before the sort is executed.
7 Since normal line-numbered input is automatically sorted, the sort
8 command is applicable only to files that have been created in some
9 other way such as by a user program execution or with the build
10 command.
11
12
13 Syntax: sort
14
15
16 Example:
17
18 ! old results
19 ready 0915
20
21
22 ! lisn
23 100 new data
24 entered for
25 100 a user
26 program
27 120 a user's
28 130 program
29 10 This is
30 ready 0916
31
32
33 ! sort
34 ready 0916
35
36
37 ! lisn
38 10 This is
39 100 a user
40 120 a user's
41 130 program
42 ready 0916