Mercurial > repo
view bin/ls @ 5552:0ed38d27ad36
<oerjan> ` sed -i \'s/790887/1053793/\' bin/ls
author | HackBot |
---|---|
date | Fri, 12 Jun 2015 06:01:18 +0000 |
parents | 6aec7f113dd5 |
children |
line wrap: on
line source
#!/bin/bash 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