lua-users home
lua-l archive

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


Alexander Gladysh <agladysh@gmail.com> writes:
>> In bash:
>
>> lua <(echo 'code') arg1 arg2 ...
>
> Wow! It passes my stdin test! How? o_O

Another way that might be more portable:

   echo 'print("A", ...)' | lua - 1 2 3

-Miles

-- 
Guilt, n. The condition of one who is known to have committed an indiscretion,
as distinguished from the state of him who has covered his tracks.