Unix and Linux Discussions Tagged with ls -l |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
9 |
4,099 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
2,579 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,850 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,290 |
UNIX Desktop Questions & Answers |
|
|
|
13 |
8,386 |
Shell Programming and Scripting |
|
|
|
2 |
31,954 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,924 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
9,056 |
Shell Programming and Scripting |
|
|
|
3 |
14,623 |
Shell Programming and Scripting |
|
|
|
13 |
9,695 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
18,681 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
5,395 |
Shell Programming and Scripting |
|
|
|
6 |
8,075 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
18,364 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
29,947 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
29,297 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,066 |
Programming |
|
|
|
1 |
6,937 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,438 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
21,082 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
15,122 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
11,264 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
6,323 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,642 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
10,304 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,596 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,960 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,491 |
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)