From a68c62e75f007c80ce02e3c8b61505a3f54b88e3 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 25 Nov 2019 21:51:53 +0100 Subject: [PATCH] Rename highlight to hi --- bin/{highlight => hi} | 2 -- 1 file changed, 2 deletions(-) rename bin/{highlight => hi} (92%) diff --git a/bin/highlight b/bin/hi similarity index 92% rename from bin/highlight rename to bin/hi index 06653ae..9a9ec09 100755 --- a/bin/highlight +++ b/bin/hi @@ -21,8 +21,6 @@ end pattern = lpeg.Cs((pattern + lpeg.P(1)) ^ 1) -print(pattern:match('hello world testing stuff!')) - for line in io.stdin:lines() do print(pattern:match(line) or '') end