annotate bin/ls @ 2567:4f8e28a0539a

<oerjan> sed -i \'s/752131/752129/;s/exec/exec -a ls/\' bin/ls
author HackBot
date Sun, 31 Mar 2013 20:07:43 +0000
parents 7152b2168b1b
children ab26ba5c759f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2114
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents:
diff changeset
1 #!/bin/sh
2567
4f8e28a0539a <oerjan> sed -i \'s/752131/752129/;s/exec/exec -a ls/\' bin/ls
HackBot
parents: 2566
diff changeset
2 if /bin/ls -id "$@" 2>/dev/null | grep -q ^752129 ; 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