PATH:
usr
/
share
/
doc
/
lua50
/
examples
-- make table, grouping all data for the same item -- input is 2 columns (item, data) local A while 1 do local l=io.read() if l==nil then break end local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$') if a~=A then A=a io.write("\n",a,":") end io.write(" ",b) end io.write("\n")
[-] fib.lua
[edit]
[-] hello.lua
[edit]
[-] trace-calls.lua
[edit]
[-] factorial.lua
[edit]
[-] cf.lua
[edit]
[-] bisect.lua
[edit]
[-] globals.lua
[edit]
[-] undefined.lua
[edit]
[-] README
[edit]
[-] trace-globals.lua
[edit]
[-] readonly.lua
[edit]
[-] printf.lua
[edit]
[-] sieve.lua
[edit]
[-] table.lua
[edit]
[+]
..
[-] sort.lua
[edit]
[-] luac.lua
[edit]
[-] env.lua
[edit]
[-] xd.lua
[edit]
[-] life.lua
[edit]
[-] echo.lua
[edit]
[-] fibfor.lua
[edit]