Update syntax of the random0 page

This commit is contained in:
Jeremy Gardais 2021-06-25 14:59:26 +02:00
parent 0b32612c48
commit 0279e849c5
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# Description: Get a quot from http://danstonchat.com # Description: Get a quot from http://danstonchat.com
if [ $(command -v lynx) ]; then if [ $(command -v lynx) ]; then
lynx --dump --display_charset=utf8 http://danstonchat.com/random0.html | awk '$0~"Ajouter une quote.*Betamod" && $0!~"Score" { getline; while ($0!~"Score") { print $0; getline;}; exit }' lynx --dump --display_charset=utf8 http://danstonchat.com/random0.html | awk '$0~".*Betamod" && $0!~"Score" { getline; while ($0!~"Score") { print $0; getline;}; exit }'
else else
printf '%b' "Please install lynx package.\n" printf '%b' "Please install lynx package.\n"
fi fi