diff --git a/checklinks.sh b/checklinks.sh index 71b218f2..6102a6db 100755 --- a/checklinks.sh +++ b/checklinks.sh @@ -15,4 +15,4 @@ cd "$tmp" wget --spider -o "$logfile" -r -p -X '/soustredeni/*/fotogalerie/' "$@" || true # wget nejspíš skončí s chybou, že něco nestáhl… echo "Result: (a last few lines of the file $logfile)" -sed -ne '/^Found [0-9]* broken links/,$ p' "$logfile" +sed -ne '/^Found [0-9]* broken link/,$ p' "$logfile"