lua-users home
lua-l archive

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


Hi Leo,

On 1/7/11 2:38 AM, Leo Razoumov wrote:
> On Thu, Jan 6, 2011 at 17:21, Henning Diedrich <hd2010@eonblast.com>
> wrote:
>> Could this be wrong in main (or is this the test itself)? main.lua
>> 151: RUN([[lua "-e_PROMPT='%s'" -i < %s > %s]], prompt, prog, out)
>> (? : RUN([[lua -e"_PROMPT='%s'" -i < %s > %s]], prompt, prog,
>> out)) It fails for me.
>
> Is your lua built with readline library?


Yes (and the test libs not).

If that makes a difference, the tests right before that one work and I wondered about

main.lua 151: ... "-e_PROMPT='%s'" ...

which in the lines above is

... -e"_PROMPT='%s'" ...

with the first quote 3 places further right.

Just a wild guess, I will look at the readline flag.

Thanks,
Henning