Template:Uniq
From Metabolomics.JP
(Difference between revisions)
(New page: {{#lua: S = {}; for label stdin:gmatch("([%S]+)") do S[label]=label; end print(table.concat(S, " ")) |{{{1}}}}}) |
|||
Line 1: | Line 1: | ||
{{#lua: | {{#lua: | ||
S = {}; | S = {}; | ||
− | for label stdin:gmatch("([% | + | for label stdin:gmatch("([^%s]+)") |
do S[label]=label; end | do S[label]=label; end | ||
print(table.concat(S, " ")) | print(table.concat(S, " ")) | ||
|{{{1}}}}} | |{{{1}}}}} |
Revision as of 13:32, 24 January 2009
./lua: /tmp/mw_ex_lua_jTzUPc:2: '=' or 'in' expected near 'stdin'