# HG changeset patch # User HackBot # Date 1359755768 0 # Node ID 1e47e7bea1a5ae292f804ad40cc8e665eb726466 # Parent 3467c01137d9e106a9c9961a313c138146b7c698 mv newls bin diff -r 3467c01137d9 -r 1e47e7bea1a5 bin/newls --- a/bin/newls Fri Feb 01 21:56:04 2013 +0000 +++ b/bin/newls Fri Feb 01 21:56:08 2013 +0000 @@ -1,5 +1,5 @@ #!/bin/sh -if [ "$@" = wisdom -o "$@" = wisdom/ ]; +if [ "$1" = wisdom -o "$1" = 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 3467c01137d9 -r 1e47e7bea1a5 newls --- a/newls Fri Feb 01 21:56:04 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#!/bin/sh -if [ "$1" = wisdom -o "$1" = 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