changeset 2598:41595cf4a435

<fizzie> sed -i -e \'2s#$# -e \'\\\'\'s/!\\\\?$/!/\'\\\'\'#\' bin/\\!
author HackBot
date Wed, 03 Apr 2013 19:17:37 +0000
parents 39046fb1f4b9
children 18deb3572edc
files bin/!
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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/!\?$/!/'