annotate bin/ls @ 3843:5b9ca5456cc7

<oerjan> mv delvs bin
author HackBot
date Wed, 25 Sep 2013 13:52:48 +0000
parents fca976a8ea7e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2568
ab26ba5c759f <oerjan> sed -i \'1s/sh/bash/\' bin/ls
HackBot
parents: 2567
diff changeset
1 #!/bin/bash
3831
fca976a8ea7e <oerjan> sed -i \'s/752129/969195/g\' bin/ls
HackBot
parents: 2568
diff changeset
2 if /bin/ls -id "$@" 2>/dev/null | grep -q ^969195 ; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.'; else exec -a ls /bin/ls "$@"; fi