Correct the bash_quote because the syntax of
http://danstonchat.com/random.html just change.
This commit is contained in:
parent
ec70781402
commit
7a3403f5ef
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Description: Get a quot from http://danstonchat.com
|
# 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ù…
|
#awk : chope les lignes où…
|
||||||
#$1~"#" : le premier terme ($1) contient un dièse
|
#$1~"#" : le premier terme ($1) contient un dièse
|
||||||
|
|
Loading…
Reference in New Issue