diff options
-rwxr-xr-x | ponysay | 6 | ||||
-rwxr-xr-x | ponysaylist.pl | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -173,9 +173,9 @@ say() { ccmd=$(for c in $(echo $PATH":" | sed -e 's/:/\/'"$cmd"' /g'); do if [[ -f $c ]]; then echo $c; break; fi done) if [[ ${0} == *ponythink ]]; then - cat <(echo -e $pcmd) $ccmd > "/tmp/.ponythink" - perl '/tmp/.ponythink' "$@" - rm '/tmp/.ponythink' + cat <(echo -e $pcmd) $ccmd > "/tmp/ponythink" + perl '/tmp/ponythink' "$@" + rm '/tmp/ponythink' else perl <(cat <(echo -e $pcmd) $ccmd) "$@" fi diff --git a/ponysaylist.pl b/ponysaylist.pl index 72c0a92..401d83b 100755 --- a/ponysaylist.pl +++ b/ponysaylist.pl @@ -17,7 +17,7 @@ foreach $arg (@ARGV) { # Format names from ponyies names $arg =~ s/([a-z])([A-Z])/\1 \2/; - $arg =~ s/_(.*)/\t(\1)/; + #$arg =~ s/_(.*)/\t(\1)/; ## Incompatible with `ponysay -L` if ($first == 1) { $first = 0; |