[DGD] accessd.c filter_from_file ??

Felix A. Croes felix at dworkin.nl
Tue Feb 10 23:57:34 CET 2004


Michael McKiel <crashnbrn71 at yahoo.ca> wrote:

> Ok, '/' == 47, and '0' == 48...
>
> but its adding "/" not '/' or '0'
>
> the data/access file has no 0's, and the different access levels are 1 2 3
> with an array or string, array[1 .. 2] would return the data between those 2
> points, so with a mapping, access[string .. string2] would give you the data
> between those 2 points? But where is --> file + "0" , I don't see it anywhere
> and I really can't figure out what this is doing :P
> Is the fact that it doesn't exist somehow relevant to what it is doing?

Given a mapping like the following,

    ([
       "/usr" : 1,
       "/usr/bar" : 2,
       "/usr/foo" : 3,
       "/usrgnu" : 4
    ])

what subrange is indicated by ["/usr/" .. "/usr0"] ?

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list