From 1dac58de1ced982c05cb68eec34fe3acdc43b592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Sun, 4 Nov 2012 04:36:58 +0100 Subject: [PATCH] bug fix for commitcomment-2098407 --- manuals/ponysay.texinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo index bc05aedc..b96666a7 100644 --- a/manuals/ponysay.texinfo +++ b/manuals/ponysay.texinfo @@ -637,7 +637,7 @@ have that, you may want to rethink that as it will usually cause problems for pr especially for shell scripts. The command @command{__pony=$(ponysay -o 3>&1 1>/dev/null | grep ^pony\ file: | -sed -e s/^pony\ file:\ //g) && (ponysay -of "$__pony" | ponythink -Wi -f "$__pony")} +sed -e s/^pony\ file:\ //g) && (ponysay -of "$__pony" | ponythink -Wn -f "$__pony")} will give you a pony thinking of herself. The command works on GNU Bash, but my not work on less POSIX compatible shells. It works by first getting a random pony and use the extra information printed the file descriptor 3 (see @ref{Extra information}),