I hate shell semantics sometimes
Without quoting this, the tweet: i;ll never be a real pig *sobs uncontrollably * is interpreted _as if you'd typed that verbatim on the commandline_: i;ll never be a real pig *sobs uncontrollably dril dril.dat dril.html fortunes Makefile mkfortunes.sh README.md
This commit is contained in:
parent
b701f5d6ac
commit
a84b476ff4
|
@ -13,7 +13,7 @@ lines=$(cat dril.html |\
|
||||||
total=$(echo -n "$lines" | wc -l)
|
total=$(echo -n "$lines" | wc -l)
|
||||||
at=1
|
at=1
|
||||||
while read tweet; do
|
while read tweet; do
|
||||||
echo $tweet | sed 's%<br />%\n%g'
|
echo "$tweet" | sed 's%<br />%\n%g'
|
||||||
echo " -- dril"
|
echo " -- dril"
|
||||||
echo %
|
echo %
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue