view bin/ls @ 2567:4f8e28a0539a

<oerjan> sed -i \'s/752131/752129/;s/exec/exec -a ls/\' bin/ls
author HackBot
date Sun, 31 Mar 2013 20:07:43 +0000
parents 7152b2168b1b
children ab26ba5c759f
line wrap: on
line source

#!/bin/sh
if /bin/ls -id "$@" 2>/dev/null | grep -q ^752129 ; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.'; else exec -a ls /bin/ls "$@"; fi