Add count script
Counts from 1 to given Lua expression
This commit is contained in:
parent
6b3f339593
commit
ee8889df32
1 changed files with 6 additions and 0 deletions
6
bin/count
Executable file
6
bin/count
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env lua
|
||||||
|
|
||||||
|
math.randomseed(os.time())
|
||||||
|
for i=1,load('return '..(table.concat({...}, ' ')))() do
|
||||||
|
print(i)
|
||||||
|
end
|
Loading…
Reference in a new issue