lua-users home
lua-l archive

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


> Will the Benevolent Triumvirate For Life consider making the following 
> four small changes to 'main.lua' in the lua5.1-test.tar.gz suite?
> 
> This is the bit which tests Lua interactively. As discussed a few months 
> back on the list, Lua compiled with readline support (surely a popular and 
> useful compile-time option) echos its input lines in the cases below. This 
> causes the tests to fail. 
> 
> Changing the stdin redirection from a file to a pipe ("< %" to "cat %s |" 
> below)  file |") removes this anomaly.
> 
> In my opinion, these changes do not change the value of the test, and 
> should therefore be applied.
> 
> [...]

(Yes, this was a long time ago. I just found this message in some
pile of things to answer...)

Last time I checked the redirection worked on Windows. Does the pipe
(plus 'cat') work there too?

-- Roberto