From: Alex Vinokur Newsgroups: comp.os.msdos.djgpp Subject: DJGPP and sorting files on Windows98 Date: Wed, 14 Nov 2001 16:06:38 +0200 Organization: Scopus Network Technologies Lines: 42 Message-ID: <3BF27A6E.A62B3212@bigfoot.com> References: <3BF23694 DOT 90E50EF3 AT bigfoot DOT com> NNTP-Posting-Host: gateway.scopus.co.il (194.90.203.161) Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1005746895 39290367 194.90.203.161 (16 [79865]) X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, Here is help for sort command on Windows98. %sort /? ---------------------------------------------------------- Sorts input and writes results to the screen, a file, or another device SORT [/R] [/+n] [[drive1:][path1]filename1] [> [drive2:][path2]filename2] [command |] SORT [/R] [/+n] [> [drive2:][path2]filename2] /R Reverses the sort order; that is, sorts Z to A, then 9 to 0. /+n Sorts the file according to characters in column n. [drive1:][path1]filename1 Specifies file(s) to be sorted [drive2:][path2]filename2 Specifies a file where the sorted input is to be stored. command Specifies a command whose output is to be sorted. ---------------------------------------------------------- I need to sort the file according to characters in _word_ (_field_) n. Does DJGPP provides a program to help us do this on Windows98 ? Thanks, =========================== Alex Vinokur mailto:alexvn AT bigfoot DOT com mailto:alexvn AT dr DOT com http://up.to/alexvn http://go.to/alexv_math ===========================