|
Re: Using filenames which contain wildcard characters: msg#00101lisp.clisp.general
> * In message <878yumbqwm.fsf@xxxxxxxxxxxxxxx> > * On the subject of "[clisp-list] Using filenames which contain wildcard > characters" > * Sent on Mon, 07 Apr 2003 19:25:29 +1000 > * Honorable Mark Triggs <mst@xxxxxxxxxxxxxxx> writes: > > 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?" CLHS is quite explicit on OPEN: An error of type file-error is signaled if (wild-pathname-p filespec) returns true. It is possible to add an keyword option to OPEN to circumvent it, but it will not be portable. Maybe it would be better to avoid such pathnames? -- Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html> Bus error -- driver executed. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | eBay Auction Education -- genus budorcas: 00101, Natalia Walton |
|---|---|
| Next by Date: | Re: Clisp 2.29 segmentation fault on OSX after 120 recursions: 00101, Sam Steingold |
| Previous by Thread: | Using filenames which contain wildcard charactersi: 00101, Mark Triggs |
| Next by Thread: | Re: Using filenames which contain wildcard characters: 00101, Mark Triggs |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | Mail Home | sitemap | FAQ | advertise |