add -n to echo
This commit is contained in:
parent
f1de2f7ae5
commit
c9c24300c2
2
dash.sh
2
dash.sh
@ -14,5 +14,5 @@ fi
|
|||||||
#echo "$date_font $time_font $joke_font"
|
#echo "$date_font $time_font $joke_font"
|
||||||
date "+%a %b %e" | figlet -Wnctf "./fonts/$date_font"
|
date "+%a %b %e" | figlet -Wnctf "./fonts/$date_font"
|
||||||
date "+%l:%M %p" | figlet -Wnctf "./fonts/$time_font"
|
date "+%l:%M %p" | figlet -Wnctf "./fonts/$time_font"
|
||||||
echo -e "$joke" | figlet -nctf "./fonts/$joke_font"
|
echo -n -e "$joke" | figlet -nctf "./fonts/$joke_font"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user