Mercurial > repo
annotate bin/! @ 2598:41595cf4a435
<fizzie> sed -i -e \'2s#$# -e \'\\\'\'s/!\\\\?$/!/\'\\\'\'#\' bin/\\!
author | HackBot |
---|---|
date | Wed, 03 Apr 2013 19:17:37 +0000 |
parents | 7b89280f2e2d |
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/!\?$/!/' |