mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-23 13:31:05 -05:00
use printf instead of echo -e
echo is not very portable, printf is well-specified (fail case: dash's builtin echo doesn't know -e)
This commit is contained in:
@@ -6,7 +6,7 @@ api="http://api.twitter.com/1/statuses/user_timeline.xml?"
|
|||||||
|
|
||||||
if ! test "$1"
|
if ! test "$1"
|
||||||
then
|
then
|
||||||
echo -e "Please specify twitter username\n e.g. $0 kaihendry"
|
printf "Please specify twitter username\n e.g. %s kaihendry\n" $0
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user