Make awk filters more portable
This commit is contained in:
parent
408a9e7b10
commit
61206c6ac6
3 changed files with 2 additions and 4 deletions
|
@ -69,7 +69,7 @@ editor=
|
||||||
# You can also match on non-mimetypes, by prefixing with the header to match
|
# 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
|
# 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 which contains "text". Use header,~regex to match against a regex.
|
||||||
subject,~^\[PATCH=@SHAREDIR@/filters/hldiff
|
subject,~^\[PATCH=awk -f @SHAREDIR@/filters/hldiff
|
||||||
text/*=@SHAREDIR@/filters/plaintext
|
text/*=awk -f @SHAREDIR@/filters/plaintext
|
||||||
#text/html=@SHAREDIR@/filters/html
|
#text/html=@SHAREDIR@/filters/html
|
||||||
#image/*=catimg -w $(tput cols) -
|
#image/*=catimg -w $(tput cols) -
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/env -S awk -f
|
|
||||||
# vim: set ft=awk :
|
# vim: set ft=awk :
|
||||||
BEGIN {
|
BEGIN {
|
||||||
bright = "\x1B[1m"
|
bright = "\x1B[1m"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/env -S awk -f
|
|
||||||
# vim: set ft=awk :
|
# vim: set ft=awk :
|
||||||
BEGIN {
|
BEGIN {
|
||||||
dim = "\x1B[2m"
|
dim = "\x1B[2m"
|
||||||
|
|
Loading…
Reference in a new issue