# HG changeset patch # User HackBot # Date 1359755048 0 # Node ID 42bcc3efd5c50177accc8c8a215295a451222c16 # Parent d0c2f785ab1320aa2039362bd58816fac8a0555e mv newls bin diff -r d0c2f785ab13 -r 42bcc3efd5c5 bin/newls --- a/bin/newls Fri Feb 01 21:43:57 2013 +0000 +++ b/bin/newls Fri Feb 01 21:44:08 2013 +0000 @@ -1,5 +1,5 @@ #!/bin/sh -if [[ "$@" =~ wisdom(/)\? ]]; -then echo "As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead."; -else exec /bin/ls "$@"; +if [[ "$@" =~ "wisdom(/)\?" ]]; +then; echo "As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead."; +else; exec /bin/ls "$@"; fi diff -r d0c2f785ab13 -r 42bcc3efd5c5 newls --- a/newls Fri Feb 01 21:43:57 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#!/bin/sh -if [[ "$@" =~ "wisdom(/)\?" ]]; -then; echo "As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead."; -else; exec /bin/ls "$@"; -fi