Also, a + at the end of the command line is special; it turns on *Dbg
and is not included in (argv).

> > bare dash. is there any way around it?

Make a wrapper like this:

#!/bin/bash
/usr/bin/picolisp /usr/lib/picolisp/lib.l file.l +++ "$@" +++

Then in file.l, remove the extraneous +++:

(setq Arguments (cdr (reverse (cdr (reverse (argv))))))
(for A Arguments (prinl A))
(bye)

This makes sure there will never be a dash as first argument, or a
plus sign as the last. A little cumbersome perhaps, but it is caused
by how the picolisp interpreter works.
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to