view bin/ls @ 3831:fca976a8ea7e

<oerjan> sed -i \'s/752129/969195/g\' bin/ls
author HackBot
date Wed, 25 Sep 2013 13:13:18 +0000
parents ab26ba5c759f
children
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 `pastewisdom instead.'; else exec -a ls /bin/ls "$@"; fi