Red Hat Linux 9 Professional Secrets [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Red Hat Linux 9 Professional Secrets [Electronic resources] - نسخه متنی

Naba Barkakati

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید








sort



Purpose


Sort or merge lines from a file, and write to standard output.


Syntax


sort [options] [

files

]


Options


-c checks if files are already sorted and prints error message if not.

-m merges files by sorting them as a group.

-b ignores leading blanks.

-d sorts in phone directory order (using only letters, digits, and blanks).

-f treats lowercase letters as equivalent to uppercase letters.

-k

pos1

[,

pos2

] specifies the sort field as characters between the two positions

pos1 and

pos2.

-o

file writes output to the specified file instead of standard output.

-r sorts in reverse order.

-g sorts numerically after converting the prefix of each line into a floating-point number.

-i ignores unprintable characters.

-n sorts numerically (used when a number begins each line).

-t

c specifies the separator character.

+

n only considers characters from position

n onwards (0 = first position).


Description


The

sort command sorts the lines in one or more files and writes them out to the standard output. The same command can also merge several files (when used with the

-m option) and can produce an appropriately sorted and merged output.


/ 341