www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/14/09:19:52

From: Alex Vinokur <alexvn AT bigfoot DOT com>
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
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
  ===========================


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019