formatting improvements to the bash.org module.
This commit is contained in:
parent
e1f7d87c91
commit
3d8f2325a5
@ -5,7 +5,7 @@ quote="$(echo "$quote" | grep -m 1 -A 10 '"Permanent link to this quote."')"
|
||||
quote="${quote#*class=\"qt\">}"
|
||||
quote="${quote//</<}"
|
||||
quote="${quote//>/>}"
|
||||
quote="${quote%</p>*}"
|
||||
quote="${quote%%<p class*}"
|
||||
quote="$(echo "$quote" | html2text)"
|
||||
msg "$2" "$quote"
|
||||
msg "$2" "$(echo "$quote" | tr -s '[:space:]' ' ')"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user