annotate bin/ls @ 3362:9e76a5a1ead3

<boily> learn megalun is a chain of a million SCSI devices. FreeFull weighs 482 of them.
author HackBot
date Fri, 02 Aug 2013 20:38:19 +0000
parents ab26ba5c759f
children fca976a8ea7e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2568
ab26ba5c759f <oerjan> sed -i \'1s/sh/bash/\' bin/ls
HackBot
parents: 2567
diff changeset
1 #!/bin/bash
2567
4f8e28a0539a <oerjan> sed -i \'s/752131/752129/;s/exec/exec -a ls/\' bin/ls
HackBot
parents: 2566
diff changeset
2 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