Subject: Re: File I/O & String conversion - CLISP
From: (Rob Warnock)
Date: Mon, 20 Oct 2008 21:05:53 -0500
Newsgroups: comp.lang.lisp
Message-ID: <>
Carla  <> wrote:
| D.*.F
| ..1..
| I have to read this data line by line, and convert it into list of
| lists, of individual strings.
| (("D" "." *" "." "F") ("." "." "1" "." "."))

LOOP, READ-LINE, and STRING are your friends. It's almost a "one-liner".

[O.k., depending on how fanatical you are about formatting, it's
actually a 2- or 3-liner. But it still took less than 40 seconds
by the stopwatch to write & test a solution that works with your
sample input data set.]

Note: It's considered polite in this list to first show us us your
best efforts so far [the code you wrote], and the problems you have
experienced [the exact error messages]. rather than just starting off
with "Do my homework for me!".


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607