aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schwindl <schwindl@posteo.de>2022-07-11 13:27:49 +0000
committerRobin Jarry <robin@jarry.cc>2022-07-11 15:53:23 +0200
commitfc4301113ef497f2bd6cb59872484ce2ebc6e4a8 (patch)
tree55aa3b1dad02a9e36af253b4706db0b72675a34f
parent2eff25e3eae98013442ac35e4e367d24b36e4aa3 (diff)
downloadaerc-fc4301113ef497f2bd6cb59872484ce2ebc6e4a8.tar.gz
filters: Add missing shebangs
The hldiff and plaintext filter scripts are missing their shebangs. Add those to be correct and consistent. Additionally, remove the vim comment, it's unnecessary. Signed-off-by: Tom Schwindl <schwindl@posteo.de> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
-rwxr-xr-xfilters/hldiff3
-rwxr-xr-xfilters/plaintext3
2 files changed, 4 insertions, 2 deletions
diff --git a/filters/hldiff b/filters/hldiff
index 64e95d2c..dc8c727f 100755
--- a/filters/hldiff
+++ b/filters/hldiff
@@ -1,4 +1,5 @@
-# vim: set ft=awk :
+#!/usr/bin/awk -f
+
BEGIN {
bright = "\x1B[1m"
red = "\x1B[31m"
diff --git a/filters/plaintext b/filters/plaintext
index cfaa170e..922ae7c7 100755
--- a/filters/plaintext
+++ b/filters/plaintext
@@ -1,4 +1,5 @@
-# vim: set ft=awk :
+#!/usr/bin/awk -f
+
BEGIN {
dim = "\x1B[2m"
cyan = "\x1B[36m"