From 45f544bd5ad70497dbd56976e69ef33f856304ea Mon Sep 17 00:00:00 2001 From: Tomaz Solc Date: Fri, 31 May 2013 12:27:09 +0200 Subject: [PATCH] Better grammar in Narcissistic ponies. --- manuals/ponysay.texinfo | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo index d3202b93..76e450f7 100644 --- a/manuals/ponysay.texinfo +++ b/manuals/ponysay.texinfo @@ -668,12 +668,13 @@ 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 -Wn -f "$__pony")} will give you a pony thinking of herself. The command works on GNU Bash, but may -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}), -and fetchs the file name with help of @command{grep} and @command{sed}. The file -name is stored in a shell variable. It the pipes one an execute of ponysay into -another executing, using the stored file anme in both executions. This does not -work on FISH shell because os POSIX incompatibility. +not work on less POSIX compatible shells. It works by first getting a random +pony and then uses the extra information printed to the file descriptor 3 (see +@ref{Extra information}) to fetch the file name with help of @command{grep} and +@command{sed}. The file name is stored in a shell variable. It then the pipes +output from one execution of ponysay into the second, using the stored file +name in both. This does not work on FISH shell because of POSIX +incompatibility. Ponysay can use just about anything as a message because it quarantines the message's ANSI escape sequences, including colour. And is Unicode aware (including combining