view bin/ls @ 4398:14b11efeb271

<oerjan> sed -i \'s/969195/790887/\' bin/ls
author HackBot
date Thu, 06 Feb 2014 14:36:38 +0000
parents 3ac74d492f74
children
line wrap: on
line source

#!/bin/bash
if /bin/ls -id "$@" 2>/dev/null | grep -q ^790887 ; 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