tags 489626 + patch
thanks

Bash's 'echo -e' can be replaced by 'printf' - Here is a simple patch
fixing this problem.  

diff --git a/buginfo.sh b/buginfo.sh
index 7d9dab1..7166fd7 100644
--- a/buginfo.sh
+++ b/buginfo.sh
@@ -37,20 +37,20 @@ EOF
 yesno "May I include your apt cache policy ? " yep
 
 if [ "$REPLY" = "yep" ]; then
-  echo -e "\n-- apt-cache policy --\n" >&3
+  printf "\n-- apt-cache policy --\n" >&3
   apt-cache policy >&3 2>&1
 else
-  echo -e "\n-- apt-cache policy request denied --\n" >&3
+  printf "\n-- apt-cache policy request denied --\n" >&3
 fi
 
 if [ -f /etc/apt/sources.list ]; then
   yesno "May I also include your sources.lists (/etc/apt/sources.list*(.d/*))? 
" yep
 
   if [ "$REPLY" = "yep" ]; then
-    echo -e "\n-- /etc/apt/sources.list --\n" >&3
+    printf "\n-- /etc/apt/sources.list --\n" >&3
     cat /etc/apt/sources.list >&3
     for list in `ls /etc/apt/sources.list.d/ | grep -v ucf`; do
-      echo -e "\n-- /etc/apt/sources.list.d/$list --\n" >&3
+      printf "\n-- /etc/apt/sources.list.d/$list --\n" >&3
       cat /etc/apt/sources.list.d/$list >&3
     done
   fi


Greetings,

-- 
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF

Attachment: pgp00x0k24s7S.pgp
Description: PGP signature

Reply via email to