Mercurial > repo
annotate bin/ls @ 5551:6aec7f113dd5
<zzo38> `` sed -i \'s/https.*wisdom.pdf/listing it in private/\' bin/ls
author | HackBot |
---|---|
date | Fri, 12 Jun 2015 05:41:34 +0000 |
parents | e76075376807 |
children | 0ed38d27ad36 |
rev | line source |
---|---|
5550 | 1 #!/bin/bash |
5551
6aec7f113dd5
<zzo38> `` sed -i \'s/https.*wisdom.pdf/listing it in private/\' bin/ls
HackBot
parents:
5550
diff
changeset
|
2 if /bin/ls -id "$@" 2>/dev/null | grep -q ^790887 ; 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 |