Mercurial > repo
annotate bin/ls @ 4275:e598a5b6ac0e
<tswett> locale -a | paste
author | HackBot |
---|---|
date | Tue, 07 Jan 2014 04:01:39 +0000 |
parents | 3ac74d492f74 |
children | 14b11efeb271 |
rev | line source |
---|---|
3959 | 1 #!/bin/bash |
3960
3ac74d492f74
<FireFly> sed -i \'s#`pastewisdom#https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf#\' bin/ls # ought to work
HackBot
parents:
3959
diff
changeset
|
2 if /bin/ls -id "$@" 2>/dev/null | grep -q ^969195 ; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf instead.'; else exec -a ls /bin/ls "$@"; fi |