Mercurial > repo
comparison bin/ls @ 2566:7152b2168b1b
<oerjan> sed -i \'2s/| grep/2>\\/dev\\/null | grep/\' bin/ls
author | HackBot |
---|---|
date | Sun, 31 Mar 2013 19:56:28 +0000 |
parents | 7914d7e0b500 |
children | 4f8e28a0539a |
comparison
equal
deleted
inserted
replaced
2565:2d5195b1e15f | 2566:7152b2168b1b |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 if /bin/ls -id "$@" | grep -q ^752131 ; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.'; else exec /bin/ls "$@"; fi | 2 if /bin/ls -id "$@" 2>/dev/null | grep -q ^752131 ; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try `pastewisdom instead.'; else exec /bin/ls "$@"; fi |