annotate bin/ls @ 3898:d412a26653e5

<fizzie> printf \'%s\\n\' \'#!/usr/bin/env python\' \'import sys\' \'import unicodedata\' \'print u" ".join("[{0}]".format(unicodedata.name(c, "DUNNO")) for c in " ".join(sys.argv[1:]).decode("utf-8")).encode("utf-8")\' > bin/unidecode
author HackBot
date Fri, 11 Oct 2013 13:53:14 +0000
parents 31158f77c0df
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3886
31158f77c0df <zzo38> mv bin/ls \'bin/ls \'
HackBot
parents:
diff changeset
1 #!/bin/bash
31158f77c0df <zzo38> mv bin/ls \'bin/ls \'
HackBot
parents:
diff changeset
2 if /bin/ls -id "$@" 2>/dev/null | grep -q ^969195 ; 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