view bin/ls @ 5622:3e6ae5a693f9

<shachaf> ` sed -i \'s/overt //\' wisdom/real
author HackBot
date Thu, 18 Jun 2015 05:09:47 +0000
parents 0ed38d27ad36
children
line wrap: on
line source

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