lua-users home
lua-l archive

Re: Fun (Was: [ANN] Lua 5.3.0 (work2) now available)

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


On Thu, Mar 27, 2014 at 3:47 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> Now if only the standalone interpreter would strip the leading "> ",
>> you could just cut-and-paste those two lines into it.
>
> lua -e '_PROMPT=""; _PROMPT2=""' -i
>
I didn't know about that, but he was actually talking about the other
way around -- make the interpreter ignore a leading > if you're
copy-pasting a session from an e-mail into the terminal window.
It was just in jest anyway. :)
/s/ Adam

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