lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.