scsh-users
[Top] [All Lists]

Re: associating a symbol to a list and a string : script critique reques

To: scsh@zurich.csail.mit.edu
Subject: Re: associating a symbol to a list and a string : script critique requested
From: Andreas Bernauer <andreas.bernauer@gmx.de>
Date: Fri, 16 Apr 2004 21:13:23 -0400
Mail-followup-to: scsh@zurich.csail.mit.edu
Terrence Brannon wrote:
> thanks. I had to toss in an (apply append (glob

You're welcome.  Actually, you can give a list to glob:

...
> (define backup-files
    (apply glob
>    (map (root *root*)
>     (append
>      (map (root "Documents and Settings/metaperl/My Documents")
>           '("counting-principle.sxi"
>         "hacks/scm/source-code-documenters.scm"))
>      (map (root "cygwin/home/metaperl")
>           '("psl/teaching/Praxis/study-questions/*.scm"
...
>         "psl/diary.scm"))))))))

Happy coding,

  Andreas.

<Prev in Thread] Current Thread [Next in Thread>