gsu: Fix "echo -en" bashism.
[gsu.git] / 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>."