about summary refs log tree commit diff stats
path: root/sfeedrc
diff options
context:
space:
mode:
authorCase Duckworth2022-07-19 10:06:10 -0500
committerCase Duckworth2022-07-19 10:06:10 -0500
commit432ccc8f4454abb9273607f59c10f05369451359 (patch)
treec05e79f8b345d2f025e6118b69309bbd5532f933 /sfeedrc
parentFix reddit handling (diff)
downloadsfeed-432ccc8f4454abb9273607f59c10f05369451359.tar.gz
sfeed-432ccc8f4454abb9273607f59c10f05369451359.zip
Use gawk due to unportable bits
Diffstat (limited to 'sfeedrc')
-rw-r--r--sfeedrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeedrc b/sfeedrc index cda42f2..bb99939 100644 --- a/sfeedrc +++ b/sfeedrc
@@ -167,7 +167,7 @@ filter() {
167 *'Hacker News'*) 167 *'Hacker News'*)
168 # Hacker news is stupid and doesn't include IDs, and 168 # Hacker news is stupid and doesn't include IDs, and
169 # instead includes a comments tag in its body. 169 # instead includes a comments tag in its body.
170 awk 'BEGIN {FS="\t"; OFS="\t"} { 170 gawk 'BEGIN {FS="\t"; OFS="\t"} {
171$6 = $4 171$6 = $4
172sub(/^<a href="/,"", $6) 172sub(/^<a href="/,"", $6)
173sub(/">.*$/,"", $6) 173sub(/">.*$/,"", $6)