[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua CLI: how to pass arguments to -e
- From: Alexander Gladysh <agladysh@...>
- Date: Sun, 12 Dec 2010 16:28:02 +0300
On Sun, Dec 12, 2010 at 16:20, Leo Razoumov <slonik.az@gmail.com> wrote:
> On Sun, Dec 12, 2010 at 08:11, steve donovan <steve.j.donovan@gmail.com> wrote:
>> On Sun, Dec 12, 2010 at 12:28 PM, Alexander Gladysh <agladysh@gmail.com> wrote:
>>> $ lua -e 'print(...)' 1 2 3
>> The basic problem is that the program arguments are not available using -e
> I presume that the -e string is either typed in manually or generated
> by some code. One can simply make input data part of the -e string
> like
> $ lua -e 'print(1,2,3)'
> Problem avoided (not solved)
The arguments come from the end-user. I want the shell to escape
arguments for me.
Alexander.