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