view bin/ls @ 4094:bbe9ae610bbc

<shachaf> echo \'echo resume\' > bin/r\xc3\xa8sum\xc3\xa8; chmod +x bin/r\xc3\xa8sum\xc3\xa8
author HackBot
date Thu, 28 Nov 2013 21:14:46 +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