summaryrefslogtreecommitdiff
path: root/external/mit/lua/dist/doc/lua.1
diff options
context:
space:
mode:
authorlneto <lneto@NetBSD.org>2015-02-02 14:03:05 +0000
committerlneto <lneto@NetBSD.org>2015-02-02 14:03:05 +0000
commit54a8ce17ad33a10a8408df0cde5b69324e6e90b4 (patch)
tree00965011974f1efa987937c9d6a4113ec6f4601e /external/mit/lua/dist/doc/lua.1
parentc1529ddf14dbedee0fbcd71c76c4d8554b2edfd9 (diff)
lua: updated from 5.3 work3 to 5.3.0
* improved the overall kernel Lua patch; fixed coercion * updated lua/syslog * updated luapmf and luasystm Makefiles
Diffstat (limited to 'external/mit/lua/dist/doc/lua.1')
-rw-r--r--external/mit/lua/dist/doc/lua.115
1 files changed, 5 insertions, 10 deletions
diff --git a/external/mit/lua/dist/doc/lua.1 b/external/mit/lua/dist/doc/lua.1
index cde5fb30087..c38d3a313c6 100644
--- a/external/mit/lua/dist/doc/lua.1
+++ b/external/mit/lua/dist/doc/lua.1
@@ -1,7 +1,6 @@
-.\" $NetBSD: lua.1,v 1.2 2014/07/19 18:38:33 lneto Exp $
+.\" $NetBSD: lua.1,v 1.3 2015/02/02 14:03:05 lneto Exp $
.\"
-.\" $Id: lua.1,v 1.2 2014/07/19 18:38:33 lneto Exp $
-.TH LUA 1 "$Date: 2014/07/19 18:38:33 $"
+.TH LUA 1 "Date: 2014/12/10 15:55:45 "
.SH NAME
lua \- Lua interpreter
.SH SYNOPSIS
@@ -52,22 +51,18 @@ In interactive mode,
prompts the user,
reads lines from the standard input,
and executes them as they are read.
+If the line contains an expression or list of expressions,
+then the line is evaluated and the results are printed.
If a line does not contain a complete statement,
then a secondary prompt is displayed and
lines are read until a complete statement is formed or
a syntax error is found.
-If a line starts with
-.BR '=' ,
-then
-.B lua
-evaluates and displays
-the values of the expressions in the remainder of the line.
.LP
At the very start,
before even handling the command line,
.B lua
checks the contents of the environment variables
-.B LUA_INIT_5_2
+.B LUA_INIT_5_3
or
.BR LUA_INIT ,
in that order.