annotate bin/ls @ 5570:552c422d02a4

<shachaf> rm bin/boo
author HackBot
date Fri, 12 Jun 2015 07:11:25 +0000
parents 0ed38d27ad36
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5550
e76075376807 <zzo38> revert
HackBot
parents: 5549
diff changeset
1 #!/bin/bash
5552
0ed38d27ad36 <oerjan> ` sed -i \'s/790887/1053793/\' bin/ls
HackBot
parents: 5551
diff changeset
2 if /bin/ls -id "$@" 2>/dev/null | grep -q ^1053793 ; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try listing it in private instead.'; else exec -a ls /bin/ls "$@"; fi