lua-users home
lua-l archive

Re: Lua CLI: how to pass arguments to -e

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


On Mon, Dec 13, 2010 at 09:26, Sean Conner <sean@conman.org> wrote:
> It was thus said that the Great Alexander Gladysh once stated:
>> On Mon, Dec 13, 2010 at 07:51, Miles Bader <miles@gnu.org> wrote:
>> > Alexander Gladysh <agladysh@gmail.com> writes:
>> >>> In bash:
>> >>> lua <(echo 'code') arg1 arg2 ...
>  Is there some requirement that the code is specified via -e?  Can you not
> make it a simple script with the execute bit set?
Well, two files vs. a single file seems to be a requirement enough.
Alexander.

AltStyle によって変換されたページ (->オリジナル) /