aboutsummaryrefslogtreecommitdiff
path: root/plugins/readability/recompute_READABILITY_N.sh
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-02-14 02:07:23 +0100
committerNunoSempere <nuno.sempere@protonmail.com>2023-02-14 02:07:23 +0100
commit6a330e9b09d05873213fd949bed0fb8b5e0c7ad1 (patch)
tree2ae1039048aa6834f2f6a06531fbdb17eebc1b80 /plugins/readability/recompute_READABILITY_N.sh
parent86fef30c22582896f468b9cb1b1c8dbd3043e1f5 (diff)
tweak: nicer blockquotes
also fix bug in archive.is / bloomberg.
Diffstat (limited to 'plugins/readability/recompute_READABILITY_N.sh')
-rwxr-xr-xplugins/readability/recompute_READABILITY_N.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/readability/recompute_READABILITY_N.sh b/plugins/readability/recompute_READABILITY_N.sh
index 3ca6e38..1e136e9 100755
--- a/plugins/readability/recompute_READABILITY_N.sh
+++ b/plugins/readability/recompute_READABILITY_N.sh
@@ -3,6 +3,6 @@ function sedr(){
find ./ -type f -exec sed -i -e "$1" {} \;
} ## e.g., sedr "s/target/replacement/g"
-READABILITY_N=$(wc -c ./plugins/*/readability.js | cut -d " " -f 1)
+READABILITY_N=$(wc -c readability.js | cut -d " " -f 1)
sedr "s/^#define READABILITY_N .*/#define READABILITY_N $READABILITY_N + 1/g"