view bin/ls @ 4281:5f388cb353d9

<oerjan> (echo \'#!/bin/bash\'; echo \'echo "$@" | sed -e \'\\\'\'s/^\\([^aeiou]\\+\\)\\(.*\\)$/\\1\\2 shm\\2/\'\\\') >bin/shmify
author HackBot
date Thu, 09 Jan 2014 23:12:03 +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