Mercurial > repo
comparison bin/ls @ 1963:33abbf30ba67
<kmc> echo -e \'#!/bin/sh\\nif [ $(stat -c %i "$1") -eq 752131 ]; then echo "As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead."; else exec /bin/ls "$@"; fi\' > bin/ls
author | HackBot |
---|---|
date | Fri, 01 Feb 2013 22:28:10 +0000 |
parents | bd836d16ba84 |
children | 3ccabf874d2f |
comparison
equal
deleted
inserted
replaced
1962:e3983f98883e | 1963:33abbf30ba67 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 if [ "$1" = wisdom -o "$1" = wisdom/ ]; | 2 if [ $(stat -c %i "$1") -eq 752131 ]; then echo "As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead."; else exec /bin/ls "$@"; fi |
3 then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.'; | |
4 else exec /bin/ls "$@"; | |
5 fi |