From f8878e3f29df7307f738f078664595dc18e566f0 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 7 Dec 2022 14:17:10 +0100 Subject: [PATCH] Add concat program --- bin/concat | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/concat diff --git a/bin/concat b/bin/concat new file mode 100755 index 0000000..32a1217 --- /dev/null +++ b/bin/concat @@ -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