diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-07-11 18:42:49 +0300 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-07-11 18:42:49 +0300 |
commit | 72b9eebe9388538d6d77635eaa12efb7ce650693 (patch) | |
tree | d6e377a325374813ec18e90226ea89ddbda7d522 | |
parent | 2f1566b74f83ea33d156cce3cee60f137db58489 (diff) | |
download | ponysay-72b9eebe9388538d6d77635eaa12efb7ce650693.tar.gz ponysay-72b9eebe9388538d6d77635eaa12efb7ce650693.tar.bz2 ponysay-72b9eebe9388538d6d77635eaa12efb7ce650693.zip |
See comment on last edit.
-rwxr-xr-x | ponysay | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ say() { if [ "$PONYSAY_SHELL_LINES" = "" ]; then PONYSAY_SHELL_LINES=2 fi - head --lines=`( \`stty size <&2 | cut -d ' ' -f 1\` - $PONYSAY_SHELL_LINES )` + head --lines=$(( `stty size <&2 | cut -d ' ' -f 1` - $PONYSAY_SHELL_LINES )) } if [ "$TERM" = "linux" ] || [ "$PONYSAY_TRUNCATE_HEIGHT" = 'yes' ] || [ "$PONYSAY_TRUNCATE_HEIGHT" = 'y' ] || [ "$PONYSAY_TRUNCATE_HEIGHT" = '1' ]; then |