Re: [DG-SCRIPTS] bug in dg_olc.c:trigedit_create_index()

From: Angus Mezick (amezick@EDGIL.COM)
Date: 11/05/98


George, try it.  it works.  what is ls alias'd to for you?
Does you echo statment send them in numeric order or:

1.trg
10.trg
100.trg
101.trg
11.trg
2.trg
20.trg
201.trg
21.trg
--Angus
-------------------------------------------------


George <greerga@circlemud.org> on 11/05/98 02:33:26 PM


On Thu, 5 Nov 1998, Angus Mezick wrote:

>You will need to use these commands to recover your index:
>in lib/world/trg:
>
>ls ?.trg>index
>ls ??.trg>>index
>ls ???.trg>>index
>ls ????.trg>>index
>echo \$>>index

Might want to use 'ls -1' or you'll end up with this:

moving:/var/src/linux# ls
COPYING         MAINTAINERS     Rules.make      drivers/        init/
lib/            net/
CREDITS         Makefile        System.map      fs/             ipc/
mm/             scripts/
Documentation/  README          arch/           include/        kernel/
modules/        vmlinux*

Which is obviously not correct. :)

Or just:

echo *.trg "$" | tr ' ' '\n' > index


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST