comparison bin/newls @ 1959:1e47e7bea1a5

<oerjan> mv newls bin
author HackBot
date Fri, 01 Feb 2013 21:56:08 +0000
parents 85db0d725f1e
children
comparison
equal deleted inserted replaced
1958:3467c01137d9 1959:1e47e7bea1a5
1 #!/bin/sh 1 #!/bin/sh
2 if [ "$@" = wisdom -o "$@" = wisdom/ ]; 2 if [ "$1" = wisdom -o "$1" = wisdom/ ];
3 then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.'; 3 then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.';
4 else exec /bin/ls "$@"; 4 else exec /bin/ls "$@";
5 fi 5 fi