From 61206c6ac6fdc3fc884626a5b1076354f8311c33 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 13 Jun 2019 20:17:39 -0400 Subject: Make awk filters more portable --- config/aerc.conf.in | 4 ++-- contrib/hldiff | 1 - 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" -- cgit 1.4.1-2-gfad0 f='/akkartik/mu/?h=hlt'>summary refs log tree commit diff stats
path: root/html/121new-stream.subx.html
blob: 468d0ef91ec5012b9352f4384b55205dfea4488d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187