mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-23 05:21:06 -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"
|
||||
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
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user