File: modtest.lua

package info (click to toggle)
lua-ldoc 1.4.3-5%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 912 kB
  • ctags: 748
  • sloc: ansic: 56; makefile: 55
file content (18 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-------
-- A script.
-- Scripts are not containers in the sense that modules are,
-- (although perhaps the idea of 'commands' could be adopted for some utilities)
-- It allows any upfront script comments to be included in the
-- documentation. Any long string marked with the 'usage' tag will also appear
-- in this area.
--
-- @script modtest

--- @usage
local usage = [[
modtest NAME
where NAME is your favourite name!

]]

print ('hello',arg[1])