mirror of
https://github.com/erkin/ponysay.git
synced 2025-03-29 14:57:43 +01:00
bug fix for commitcomment-2098407
This commit is contained in:
parent
3ffa5ff77b
commit
1dac58de1c
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ have that, you may want to rethink that as it will usually cause problems for pr
|
||||||
especially for shell scripts.
|
especially for shell scripts.
|
||||||
|
|
||||||
The command @command{__pony=$(ponysay -o 3>&1 1>/dev/null | grep ^pony\ file: |
|
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
|
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
|
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}),
|
use the extra information printed the file descriptor 3 (see @ref{Extra information}),
|
||||||
|
|
Loading…
Add table
Reference in a new issue