Mercurial > repo
view bin/ls @ 3960:3ac74d492f74
<FireFly> sed -i \'s#`pastewisdom#https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf#\' bin/ls # ought to work
author | HackBot |
---|---|
date | Wed, 30 Oct 2013 17:03:56 +0000 |
parents | 631fd694de4e |
children | 14b11efeb271 |
line wrap: on
line source
#!/bin/bash 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