diff 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
line wrap: on
line diff
--- a/bin/!	Wed Apr 03 19:17:16 2013 +0000
+++ b/bin/!	Wed Apr 03 19:17:37 2013 +0000
@@ -1,2 +1,2 @@
 #!/bin/sh
-\? "$@" | perl -C7 -pe '$_ = uc' | sed -e s/[.?]/!/g
+\? "$@" | perl -C7 -pe '$_ = uc' | sed -e s/[.?]/!/g -e 's/!\?$/!/'