]> git.tuebingen.mpg.de Git - gsu.git/commitdiff
gsu: Fix "echo -en" bashism.
authorAndre Noll <maan@congo.fml.local>
Thu, 26 Jul 2007 13:15:37 +0000 (15:15 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 29 Aug 2014 19:36:07 +0000 (21:36 +0200)
funcs/gsu

index 36b177afc74c9cc74de5b1860becb738f9f67a60..221aad6c332ff4c370cd0c1500f3c44503af990e 100644 (file)
--- a/funcs/gsu
+++ b/funcs/gsu
@@ -118,11 +118,11 @@ com_help()
                        | sed -e 's/^com_\([a-zA-Z_0-9]\+\)()#*/\1\t/' \
                        | sort \
                        | while read a b; do
-                                echo -en "$a\t"
-                                if test ${#a} -lt 8; then
-                                        echo -en "\t"
-                                fi
-                                echo "$b"
+                               printf "$a\t"
+                               if test ${#a} -lt 8; then
+                                       printf "\t"
+                               fi
+                               echo "$b"
                         done
                echo
                gsu_msg "Try $gsu_self help <command> for info on <command>."