[Color Computer] [coco] OS-9, alphabetizing directories..

George Ramsower Yahoo at DVDPlayersOnly.com
Thu Nov 24 22:38:32 EST 2005


----- Original Message -----


> On Wednesday 23 November 2005 20:08, George Ramsower wrote:

>>I'm sure there is something to do this..

>>

>> Where can I find a utility to alphabetize a directory of files for

>> OS-9?

>>

>> My CMDS directory is a wreck!

>>

>>

>>George


From: "Gene Heskett"
Sent: Wednesday, November 23, 2005 8:40 PM

>

> Hi George;

>

> A slightly flaky gsort was included in the multiview package, which I

> re-wrote to do a bunch of cleanups while it was running, should be

> gsort14 or some such on rtsi.

>

> My version zeros out everything after the high msb byte in the name

> except the fd pointer. I'd found an instance or two where the original

> could get confused, with the possibility of a file loss you wouldn't

> find until you ran a dcheck on the drive.

>

> --

> Cheers, Gene


The Gsort.lzh on RTSI comes with your release notes and the source code.
It did the trick. My CMDS directory looks a lot better now. It took about
ten seconds to do the task of sorting that directory.

It does not come with instructions. I suppose, since it was a replacement,
it was assumed the operator would know how to use it. I did not.
So I sorted a throw away directory about five times trying to find the HELP
in this utility until I noticed the directory was sorted.
Now I know! Simply execute Gsort and the working directory I am in, it
will be sorted.

Thanks, Gene!

George






More information about the Coco mailing list