Nope, your command just sorts the name of the file.
This is where it would help to know what Operating System and version you have.
We need to use the list of filenames to get the size of the file, then sort on the field containing the file size. A generic response (assuming that the size field is the 5th field in "ls -la") would be:
This question always confuses me :-
Suppose I write a program and compile it on a machine with operating system A and processor B
will the exe file run on a machine
with operating system A2 but processor B
operating system A but processor B2
operating system A2 and processor B2........
... (9 Replies)
Hi all ,
I need to call an executable (.exe) using shell script.
Actual need is i need to call that shell script and do an export of some tables
is there any way . the executable is datamover
Please let me know if there are any option !! (2 Replies)
hello.
My question, basically is: what is the definition of unix/linux exec files, or
what makes a file executable?
More specifically, must a unix source file that was compiled using gcc have exec permissions in order to be considered executable?
Is it right to say that a unix/linux exec file... (1 Reply)
Hi,
I have an executable file that has a rather long and tedious process to complete. How would I launch the executable using the shell, and then exit the shell while leaving the executable to run in the background? (1 Reply)
Hello every one, i want to convert my shell script into a binary executable a .exe file , is it possible to do that if so are there any tools . Would the script take off when the arguments are parsed.
Thanks
Venu (13 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
Hello all, I have posted here before and really was blown away by the amount of assistance I received. I was able to finish my homework without a problem! But, yet again, our... (6 Replies)
I would like to make a script that I can see if the file is executable. If it is executable then it needs to run. Otherwise, if it is not executable the file needs to be edited, and run agian.
I hope you understand what i mean. :)
Thanks for the netherlands (4 Replies)
Hi Friends,
I have a shell script which does some operations etc, would it be possible to create an executable file out from this shell script? meaning the executable file is not editable, thus the source code will not be visible to other users for copyright reasons.
Please help, thanks! (1 Reply)
Hello,
Cygwin will execute a shell script without turning on executable status on the file.
I want to force cygwin to be more like linux and not execute scripts directly on the command line unless changing mode to have executable status.
Is this possible?
Thanks
Larry (2 Replies)
Discussion started by: larrye0123
2 Replies
LEARN ABOUT OSF1
sortm
sortm(1) General Commands Manual sortm(1)NAME
sortm - sort messages (only available within the message handling system, mh)
SYNOPSIS
sortm [msgs] [+folder] [options]
OPTIONS
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 Deliv-
ery-Date:, then the -datefield switch can be used to tell sortm which field to examine. If you do not give this option, the default is to
use the Date: header field. Prints a list of all the valid options to this command. 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
DESCRIPTION
The command sortm sorts all the messages in the current folder into chronological order according to the contents of the Date: fields of
the messages.
By default, sortm sorts all the messages in the current folder. You can select particular messages in the folder by giving a range of mes-
sages. You can also sort messages in another folder by specifying the folder name.
If sortm encounters a message without a Date: field, or if the message has a Date: field that sortm 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 sortm complains about a message which it cannot order, it complains about the message number prior to sorting.
PROFILE COMPONENTS
Path: To determine your MH directory
EXAMPLES
The following example sorts all the messages in the folder +meetings: % sortm +meetings The next example sorts messages 10-30 in the folder
called +test: % sortm +test 10-30
FILES
The user profile.
SEE ALSO folder(1)sortm(1)