annotate bin/newls @ 1948:08dfa2c3e6cc

<oerjan> chmod a+x bin/newls
author HackBot
date Fri, 01 Feb 2013 21:42:59 +0000
parents 5018a9895942
children 42bcc3efd5c5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1947
5018a9895942 <oerjan> mv newls bin
HackBot
parents:
diff changeset
1 #!/bin/sh
5018a9895942 <oerjan> mv newls bin
HackBot
parents:
diff changeset
2 if [[ "$@" =~ wisdom(/)\? ]];
5018a9895942 <oerjan> mv newls bin
HackBot
parents:
diff changeset
3 then echo "As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.";
5018a9895942 <oerjan> mv newls bin
HackBot
parents:
diff changeset
4 else exec /bin/ls "$@";
5018a9895942 <oerjan> mv newls bin
HackBot
parents:
diff changeset
5 fi