annotate bin/newls @ 1947:5018a9895942

<oerjan> mv newls bin
author HackBot
date Fri, 01 Feb 2013 21:42:36 +0000
parents
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