www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - sorting a file

↑ ↓ ← "jim" <x y.com> writes:
is there a file sort function available ?
Or, do i have to load the file into memory, sort it and then write it back.
Jan 11 2003
↑ ↓ "Matthew Wilson" <dmd synesis.com.au> writes:
Hi Jim

Sort it in what fashion: byte order, text-line lexical comparison?

Matthew

"jim" <x y.com> wrote in message news:avq872$2bj4$1 digitaldaemon.com...
 is there a file sort function available ?
 Or, do i have to load the file into memory, sort it and then write it


Jan 11 2003
↑ ↓ → "jim" <x y.com> writes:
Just a good old ASCII text sort will do.


"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:avq95o$2c6c$1 digitaldaemon.com...
 Hi Jim

 Sort it in what fashion: byte order, text-line lexical comparison?

 Matthew

 "jim" <x y.com> wrote in message news:avq872$2bj4$1 digitaldaemon.com...
 is there a file sort function available ?
 Or, do i have to load the file into memory, sort it and then write it



Jan 11 2003