diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-13 20:17:39 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-13 20:17:39 -0400 |
commit | 61206c6ac6fdc3fc884626a5b1076354f8311c33 (patch) | |
tree | 73fafefde2d9e5a35cd5953aad31ea2ff2eee766 | |
parent | 408a9e7b103e427db673c531b2a6f92fe8a26964 (diff) |
Make awk filters more portable
-rw-r--r-- | config/aerc.conf.in | 4 | ||||
-rwxr-xr-x | contrib/hldiff | 1 | ||||
-rwxr-xr-x | contrib/plaintext | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/config/aerc.conf.in b/config/aerc.conf.in index de1c3ec..b07317f 100644 --- a/config/aerc.conf.in +++ b/config/aerc.conf.in @@ -69,7 +69,7 @@ editor= # You can also match on non-mimetypes, by prefixing with the header to match # against (non-case-sensitive) and a comma, e.g. subject,text will match a # subject which contains "text". Use header,~regex to match against a regex. -subject,~^\[PATCH=@SHAREDIR@/filters/hldiff -text/*=@SHAREDIR@/filters/plaintext +subject,~^\[PATCH=awk -f @SHAREDIR@/filters/hldiff +text/*=awk -f @SHAREDIR@/filters/plaintext #text/html=@SHAREDIR@/filters/html #image/*=catimg -w $(tput cols) - diff --git a/contrib/hldiff b/contrib/hldiff index 5d7c422..b672e21 100755 --- a/contrib/hldiff +++ b/contrib/hldiff @@ -1,4 +1,3 @@ -#!/usr/bin/env -S awk -f # vim: set ft=awk : BEGIN { bright = "\x1B[1m" diff --git a/contrib/plaintext b/contrib/plaintext index b7feb44..71e33f7 100755 --- a/contrib/plaintext +++ b/contrib/plaintext @@ -1,4 +1,3 @@ -#!/usr/bin/env -S awk -f # vim: set ft=awk : BEGIN { dim = "\x1B[2m" |