diff --git a/bash_quote b/bash_quote index 692ea5c..d21daa2 100755 --- a/bash_quote +++ b/bash_quote @@ -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