Linux Command Encyclopedia document editing: Sort

Source: Internet
Author: User
Keywords Linux Command encyclopedia document editing
Tags aliyun command encyclopedia document document editing file function help html

Function Description: Sort the contents of the text file.

Grammar: sort&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-BCDFIMMNR] [-o< output File [-t< separator Character [+< Start field >-< End field [--help] [--verison] File]

Supplemental Note: Sort can be sorted against the contents of a text file in units of behavior.

Parameters:
-B ignores the whitespace characters that start in front of each line.
-c Check that the files are sorted in order.
-D sort, ignores other characters when dealing with English letters, numbers, and space characters.
When-f is sorted, lowercase letters are treated as uppercase letters.
-I sort, ignoring other characters except ASCII characters between 040 and 176.
-M merges several sorted files.
-M sorts the previous 3 letters by the initials of the month.
-N is sorted according to the size of the value.
-o< the output file > stores the sorted results into the specified file.
-R is sorted in reverse order.
-t< separator character > Specifies the field separator character to use when sorting.
The +< Start field >-< End field > is sorted by the specified field, ranging from the starting field to the previous field in the End field.
--help display Help.
--version Displays version information.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.