Mercurial > repo
annotate bin/! @ 3678:e4904d8fb386
<kmc> printf \'#!/usr/bin/env python\\nimport sys\\nimport unicodedata\\n\\nprint unicodedata.lookup(sys.argv[1]).encode("utf-8")\\n\' > bin/unicode && chmod +x bin/unicode
author | HackBot |
---|---|
date | Mon, 09 Sep 2013 22:56:08 +0000 |
parents | 41595cf4a435 |
children |
rev | line source |
---|---|
2577
01dd148bb1c5
<oerjan> cp bin/WELCOME bin/\'!\'; sed -i \'s/welcome/\\\\!/\' bin/\'!\'
HackBot
parents:
diff
changeset
|
1 #!/bin/sh |
2598
41595cf4a435
<fizzie> sed -i -e \'2s#$# -e \'\\\'\'s/!\\\\?$/!/\'\\\'\'#\' bin/\\!
HackBot
parents:
2585
diff
changeset
|
2 \? "$@" | perl -C7 -pe '$_ = uc' | sed -e s/[.?]/!/g -e 's/!\?$/!/' |