logo       

Using filenames which contain wildcard characters: msg#00043

lisp.clisp.general

Subject: Using filenames which contain wildcard characters

Hi everyone,

I've hit a bit of a stumbling block with some code I'm working on. I
have a file called "hello?.txt" (unix filesystem) that I'm trying to
open using (with-open-file ..), but I'm getting the following:

[1]> (with-open-file (test "hello?" :direction :input))
*** - wildcards are not allowed here: #P"hello?"

Is there some way to escape the '?' character that I'm missing? I've
been through the impnotes, and mined the archives of this list and c.l.l
but haven't had much luck turning up answers.

Relevant details:

GNU CLISP 2.30 (released 2002-09-15) (built 3248584626) (memory
3258512962) running Debian unstable.

Features:
(ASDF MK-DEFSYSTEM COMMON-LISP-CONTROLLER CLX-ANSI-COMMON-LISP CLX
CLOS LOOP COMPILER CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER
SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI UNICODE
BASE-CHAR=CHARACTER SYSCALLS PC386 UNIX)

Thanks for reading, any help is greatly appreciated.

Mark

--
Mark Triggs
<mst@xxxxxxxxxxxxxxx>


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise