How to pass arguments to a script from the terminal?

2017-03-21 Thread Bruno Franco
I want to write a simple script that would accept names from the command line and print then, like this: $ ./script alice bob Hello alice and bob I know that once picolisp has the names I would just use 'print', but how do I pass the names?

Re: How to pass arguments to a script from the terminal?

2017-03-21 Thread Alexander Burger
On Tue, Mar 21, 2017 at 10:35:34AM -0700, Lindsay John Lawrence wrote: > http://software-lab.de/doc/refA.html#argv Or use 'opt' (while (opt) (println @) ) (bye) -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: How to pass arguments to a script from the terminal?

2017-03-21 Thread Bruno Franco
Got it. Thanks! On Tue, Mar 21, 2017 at 1:56 PM, Alexander Burger wrote: > On Tue, Mar 21, 2017 at 10:35:34AM -0700, Lindsay John Lawrence wrote: > > http://software-lab.de/doc/refA.html#argv > > Or use 'opt' > > (while (opt) >(println @) ) > (bye) > -- > UNSUBSCRIBE: