Skip to content

Feature request: Implement FILTER MATCHES PATHNAME for FILING.LIST #27

Description

@nbriggs

If you ask Interlisp to enumerate files with, for example, names starting with "C" in a top level folder it will generate the following sequence of operations:

FILING.LOGON[binchicken: (SIMPLE (6 26721 30561 27745 3 25701 30208 6 25202 --)) (21552)] => (25975 
2944 21552)
FILING.CONTINUE[#<Filing Session on binchicken:dev:hawala/136,120710>] => 60
FILING.OPEN[NIL (0 0) NIL #<Filing Session on binchicken:dev:hawala/136,120710>] => (25975 2894)
FILING.GET.ATTRIBUTES[(25975 2894) (3 4 5 21 16 17 18) 
#<Filing Session on binchicken:dev:hawala/136,120710>] => ((CREATED.ON -2147483648) (FILE.ID (0 0 0 0 
0)) (IS.DIRECTORY T) (PATHNAME "!1") (SIZE.IN.BYTES 0) (FILE.TYPE 1) (VERSION 1))
FILING.LIST[(25975 2894) (21 5 27 16 3 2) ((FILTER (MATCHES (PATHNAME "lispusers/C**"))) (DEPTH 1)) 
NIL #<Filing Session on binchicken:dev:hawala/136,120710>]{bulk data} => NIL

There is a top-level directory on BinChicken, Lispusers, in which there are many files starting with "C", but this "filter matches pathname" expression does not return any files. It doesn't matter whether the DEPTH parameter is 1 or greater.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions