Correct the bash_quote because the syntax of

http://danstonchat.com/random.html just change.
This commit is contained in:
Jeremy Gardais 2015-03-19 12:11:18 +01:00
parent ec70781402
commit 7a3403f5ef
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Description: Get a quot from http://danstonchat.com
lynx --dump --display_charset=utf8 http://danstonchat.com/random.html | awk '$1~"commentaires" && $0!~"RSS" { getline; while ($1!~"#") { print $0; getline;}; exit}'
lynx --dump --display_charset=utf8 http://danstonchat.com/random.html | awk '$4~"commentaires" && $0!~"RSS" { getline; while ($4!~"#") { print $0; getline;}; exit}'
#awk : chope les lignes où…
#$1~"#" : le premier terme ($1) contient un dièse