Add concat program

This commit is contained in:
Talia 2022-12-07 14:17:10 +01:00
parent 4eccff5f8f
commit f8878e3f29
1 changed files with 11 additions and 0 deletions

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