GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CSSORT(1) User Contributed Perl Documentation CSSORT(1)

cssort -- Czech sort

cssort [ "-c"list | "-f"list ["-d"regexp]] [files ...]

        cssort -c10-15,50-,25-45 < file 
        cssort -f3,5-6 < file 
        cssort -f3,5-6 -s: < file

Cssort is a utility that sorts input lines according to rules used in the Czech language. You can run it without any options, then it just uses whole lines for sorting. With the options, it's possible to specify parts of the lines to be used for comparison.
list
A comma-separated list of integer field numbers or field ranges. The are indexed from 1 and if a range is open (eg. "5-"), it means all remaining fields from the starting number.
-c
Stands for columns and the list that follows specifies byte ranges on the line. You will probably use this option to sort data with fixed width fields.
-f
Fields that will be used for sort.
-d
Delimiter that separates fields in the -f option. It is a Perl regular expression, the default is "[ \t]+", which means any number of spaces or tabs in a row.

The program assumes ISO-8859-2 encoding. Some way to specify another input encoding will come in the next versions. If you need to sort files with different encodings, you might want to check the cstocs conversion utility.

Cz::Sort(3), cstocs(1).

Jan Pazdziora
2022-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.