Unix and Linux Discussions Tagged with ls -l |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
9 |
4,450 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
2,818 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,936 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,420 |
UNIX Desktop Questions & Answers |
|
|
|
13 |
8,451 |
Shell Programming and Scripting |
|
|
|
2 |
32,065 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,940 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
9,082 |
Shell Programming and Scripting |
|
|
|
3 |
14,631 |
Shell Programming and Scripting |
|
|
|
13 |
9,787 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
18,738 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
5,464 |
Shell Programming and Scripting |
|
|
|
6 |
8,285 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
18,423 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
30,052 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
29,400 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,135 |
Programming |
|
|
|
1 |
7,023 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,488 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
21,146 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
15,208 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
11,317 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
6,396 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,668 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
10,340 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,637 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,995 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,586 |
UNIX for Dummies Questions & Answers |
sortm(1mh) sortm(1mh)
Name
sortm - sort messages
Syntax
sortm [ msgs ] [ +folder ] [ options ]
Description
The command sorts all the messages in the current folder into chronological order according to the contents of the Date: fields of the mes-
sages.
By default, sorts all the messages in the current folder. You can select particular messages in the folder by giving a range of messages.
You can also sort messages in another folder by specifying the folder name.
If encounters a message without a Date: field, or if the message has a Date: field that cannot parse, it attempts to keep the message in
the same relative position. However, this does not always work; for instance, if the first message encountered lacks a date which can be
parsed, then it will usually be placed at the end of the messages being sorted.
When complains about a message which it cannot order, it complains about the message number prior to sorting.
Options
-datefield field
Specifies the name of the header field to use when making the date comparison. If you have a special field in each message, such
as Delivery-Date:, then the -datefield switch can be used to tell which field to examine. If you do not give this option, the
default is to use the Date: header field.
-help Prints a list of all the valid options to this command.
-verbose
-noverbose
Displays the general actions that it is taking to place the folder in sorted order. The -noverbose option performs these actions
silently. The default is -noverbose.
The default settings for this command are:
+folder defaults to the current folder
msgs defaults to all
-datefield date
-noverbose
Profile Components
Path: To determine your MH directory
Examples
The following example sorts all the messages in the folder
% sortm +meetings
The next example sorts messages 10-30 in the folder called
% sortm +test 10-30
Files
The user profile.
See Also
folder(1mh)
sortm(1mh)