summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-03-22 11:43:35 +0100
committerPierre Schmitz <pierre@archlinux.de>2012-03-22 20:40:14 +0100
commit946d9181bf528d4d67feb88b4245ebe63ad4d71a (patch)
tree91172d80fcaf4010f941c0172ab7829129a77387
parent274fc2b38e5a97e840d0b14b57175269c2201294 (diff)
downloadw3watch-946d9181bf528d4d67feb88b4245ebe63ad4d71a.tar.gz
w3watch-946d9181bf528d4d67feb88b4245ebe63ad4d71a.tar.xz
remove link numbers in lynx -dump output
If numbers are enabled and we dump the whole page, all subsequent links will have different numbers if one new link is added at the top. This generates a very long diff with essentially no changes and makes spotting multiple new links on one page quite hard. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rwxr-xr-xw3watch2
1 files changed, 1 insertions, 1 deletions
diff --git a/w3watch b/w3watch
index 71d4951..f61c760 100755
--- a/w3watch
+++ b/w3watch
@@ -64,7 +64,7 @@ check() {
url="$(echo "${url}" | cut -c 1 --complement -)"
dump=$($LYNX -source "$url")
else
- dump=$($LYNX -dump "$url")
+ dump=$($LYNX -dump -nonumbers "$url")
fi
if [ $? -ne 0 ]; then