view bin/ls @ 4338:03d5e464183c

<oerjan> echo "echo Woof!" >bin/spot; chmod +x bin/spot
author HackBot
date Fri, 17 Jan 2014 01:53:57 +0000
parents 3ac74d492f74
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