Re: a small SBCL question
- From: dneu@xxxxxxx
- Date: 29 Dec 2006 16:54:04 -0800
Pascal Bourguignon wrote:
S/CL-USER[39]> (with-open-stream (files
(sb-ext:process-output
(sb-ext:run-program "/bin/ls" '("-l" "/tmp/a.lisp")
:output :stream)))
(loop :for line = (read-line files nil nil)
:while line :do (princ line) (terpri)))
-rw-r--r-- 1 pjb pjb 93 2006-12-13 21:21 /tmp/a.lisp
NIL
I tried the example above, with a wildcard, i.e. "/tmp/*.lisp" instead
of "/tmp/a.lisp",
and no files were found, and there are files matching the pattern.
Could someone explain why?
Many thanks!
Cheers,
David
.
- Follow-Ups:
- Re: a small SBCL question
- From: Zach Beane
- Re: a small SBCL question
- From: pbunyk
- Re: a small SBCL question
- From: Pascal Bourguignon
- Re: a small SBCL question
- References:
- a small SBCL question
- From: TorvoSollazzo@xxxxxxxxxxxx
- Re: a small SBCL question
- From: Pascal Bourguignon
- a small SBCL question
- Prev by Date: Re: CLISP + Araneida issues.
- Next by Date: Re: a small SBCL question
- Previous by thread: Re: a small SBCL question
- Next by thread: Re: a small SBCL question
- Index(es):