Mercurial > repo
view 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 |
line wrap: on
line source
#!/bin/bash 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