Add count script

Counts from 1 to given Lua expression
This commit is contained in:
Talia 2019-07-24 10:58:12 +02:00
parent 6b3f339593
commit ee8889df32
1 changed files with 6 additions and 0 deletions

6
bin/count Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env lua
math.randomseed(os.time())
for i=1,load('return '..(table.concat({...}, ' ')))() do
print(i)
end