diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-07-20 05:22:46 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-07-20 05:22:46 +0200 |
commit | 122f1da602b9039c1f3dc958f5e1a355a6daf44a (patch) | |
tree | 8adf78a4fb19c6c89c50c940b8aca732232c3a6d | |
parent | 301197ff740addf34ad866cfbc532ad9a205e0bd (diff) | |
download | ponysay-122f1da602b9039c1f3dc958f5e1a355a6daf44a.tar.gz ponysay-122f1da602b9039c1f3dc958f5e1a355a6daf44a.tar.bz2 ponysay-122f1da602b9039c1f3dc958f5e1a355a6daf44a.zip |
fix on env var
-rw-r--r-- | manuals/manpage.6 | 2 | ||||
-rw-r--r-- | manuals/manpage.es.6 | 2 | ||||
-rwxr-xr-x | ponysay | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/manuals/manpage.6 b/manuals/manpage.6 index daa221e..07f88c9 100644 --- a/manuals/manpage.6 +++ b/manuals/manpage.6 @@ -74,7 +74,7 @@ of how many blank lines you want. Naturally this takes effect if the output is n than the screen. .TP .B PONYSAY_FULL_WIDTH -You can export \fIPONYSAY_FULL_WIDTH\fP with the value \fIno\fP, \fIn\fP or \fI0\fP, if you +You can export \fIPONYSAY_FULL_WIDTH\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP, if you do not want the output to be truncated on the width to fit the terminal. .TP .B PONYSAY_TRUNCATE_HEIGHT diff --git a/manuals/manpage.es.6 b/manuals/manpage.es.6 index 6e14d11..59e0ead 100644 --- a/manuals/manpage.es.6 +++ b/manuals/manpage.es.6 @@ -77,7 +77,7 @@ el valor de cuantas líneas blancas desea. Naturalmente esto solo tomará efecto larga que la pantalla. .TP .B PONYSAY_FULL_WIDTH -Puede exportar \fIPONYSAY_FULL_WIDTH\fP con el valor \fIno\fP, \fIn\fP o \fI0\fP, si usted +Puede exportar \fIPONYSAY_FULL_WIDTH\fP con el valor \fIyes\fP, \fIy\fP o \fI1\fP, si usted no desea que la salida sea truncada para que calce en la terminal. .TP .B PONYSAY_TRUNCATE_HEIGHT @@ -194,7 +194,7 @@ say() { function wtrunc { - if [ "$PONYSAY_FULL_WIDTH" = 'no' ] || [ "$PONYSAY_FULL_WIDTH" = 'n' ] || [ "$PONYSAY_FULL_WIDTH" = '0' ]; then + if [ "$PONYSAY_FULL_WIDTH" = 'yes' ] || [ "$PONYSAY_FULL_WIDTH" = 'y' ] || [ "$PONYSAY_FULL_WIDTH" = '1' ]; then cat else WIDTH=`(stty size <&2 || echo 0 0) | cut -d ' ' -f 2` |