lua-users home
lua-l archive

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

I can't reproduce this behaviour in an interactive session
in Lua 5.3.4 on Ubuntu 16.04.

> os.execute'echo -n "text ... "'
text ... true    exit    0

2017-12-10 10:46 GMT+02:00 Mason Mackaman <>:
> When I run this command in my Bash shell, the output I get is "-n text". Is this a bug or am I messing up something simple? I've never encountered this problem with os.execute before .