On Sat, Feb 14, 2009 at 3:56 PM, Kevin Albrecht wrote:
>
> P.S. Also, unrelated to this problem, the following line in the
> example code in command_line.clj is missing the vector surrounding the
> bindings of the doseq:
>
> :else (doseq filename filenames
Fixed, thanks.
--Chouser
--~--
Ah, this was the problem, thanks.
Michael Wood wrote:
> java -server -cp "${CLASSPATH}" clojure.main "${script}" "$@"
>
> The quotes are necessary around the $@, otherwise you will get the
> symptoms you are seeing.
--~--~-~--~~~---~--~~
You received this message b
On Sat, Feb 14, 2009 at 10:56 PM, Kevin Albrecht wrote:
>
> This utility is very useful, but it seems unable to handle passing in
> file names with spaces in them.
>
> Example program:
>
> ;- begin args.clj
> (ns args
> (:use clojure.contrib.command-line))
>
> (with-command-line *command
This utility is very useful, but it seems unable to handle passing in
file names with spaces in them.
Example program:
;- begin args.clj
(ns args
(:use clojure.contrib.command-line))
(with-command-line *command-line-args*
"args -- test of args"
[filenames]
(doseq [filename filen