diff options
author | Case Duckworth | 2022-07-19 10:06:10 -0500 |
---|---|---|
committer | Case Duckworth | 2022-07-19 10:06:10 -0500 |
commit | 432ccc8f4454abb9273607f59c10f05369451359 (patch) | |
tree | c05e79f8b345d2f025e6118b69309bbd5532f933 /sfeedrc | |
parent | Fix reddit handling (diff) | |
download | sfeed-432ccc8f4454abb9273607f59c10f05369451359.tar.gz sfeed-432ccc8f4454abb9273607f59c10f05369451359.zip |
Use gawk due to unportable bits
Diffstat (limited to 'sfeedrc')
-rw-r--r-- | sfeedrc | 2 |
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 |
172 | sub(/^<a href="/,"", $6) | 172 | sub(/^<a href="/,"", $6) |
173 | sub(/">.*$/,"", $6) | 173 | sub(/">.*$/,"", $6) |