Add concat program

This commit is contained in:
Talia 2022-12-07 14:17:10 +01:00
parent 4eccff5f8f
commit f8878e3f29

11
bin/concat Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env lua
local first = true
for line in io.lines() do
if first then
first = false
else
io.write(...)
end
io.write(line)
end