minor improvement

This commit is contained in:
Mattias Andrée 2012-05-08 00:15:00 +02:00
parent cd41eddbb5
commit e3d582901b

View file

@ -53,7 +53,7 @@ say() {
echo -ne '\ec' echo -ne '\ec'
fi fi
exec "$cmd" -f "$pony" "${wrap:+-W$wrap}" | (ponysaytruncater `tput cols || echo 0` 2>/dev/null || ./ponysaytruncater `tput cols || echo 0` 2>/dev/null || cat) exec "$cmd" -f "$pony" "${wrap:+-W$wrap}" | (exec ponysaytruncater `tput cols || echo 0` 2>/dev/null || ./ponysaytruncater `tput cols || echo 0` 2>/dev/null || cat)
} }
while getopts f:W:lhv OPT while getopts f:W:lhv OPT