annotate bin/newls @ 1960:d9be0c667c28

<oerjan> chmod a+x bin/newls
author HackBot
date Fri, 01 Feb 2013 21:56:11 +0000
parents 1e47e7bea1a5
children
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
1959
1e47e7bea1a5 <oerjan> mv newls bin
HackBot
parents: 1956
diff changeset
2 if [ "$1" = wisdom -o "$1" = wisdom/ ];
1953
5a587aedd993 <oerjan> mv newls bin
HackBot
parents: 1950
diff changeset
3 then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.';
5a587aedd993 <oerjan> mv newls bin
HackBot
parents: 1950
diff changeset
4 else exec /bin/ls "$@";
1947
5018a9895942 <oerjan> mv newls bin
HackBot
parents:
diff changeset
5 fi