view bin/ls @ 3190:be3616de6ef2

<guestbot> gccrun FILE*f=fopen("bin/no","w");fprintf(f,"#!/bin/bash\\necho Absolutely not.");fclose(f);
author HackBot
date Thu, 20 Jun 2013 18:55:22 +0000
parents ab26ba5c759f
children fca976a8ea7e
line wrap: on
line source

#!/bin/bash
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