From 14e1770729e3bea3d786c2c477369dfd5188bf6f Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Sat, 26 Mar 2011 21:38:09 +0100 Subject: [PATCH] remove trailing points and comas --- utils/typo.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/typo.sh b/utils/typo.sh index e12577da..9f2452f7 100755 --- a/utils/typo.sh +++ b/utils/typo.sh @@ -7,6 +7,7 @@ # remove trailing space and double space sed -i \ -e 's/\s*$//g' \ + -e 's/[,\.]$//g' \ -e '/\s*%/! s/\([^ ]\)\s\+/\1 /g' \ $@