]> projects.mako.cc - muttjump/commitdiff
don't use echo -e
authorJohannes Weißl <jargon@molb.org>
Sun, 5 Dec 2010 02:00:24 +0000 (03:00 +0100)
committerJohannes Weißl <jargon@molb.org>
Sun, 5 Dec 2010 02:00:24 +0000 (03:00 +0100)
muttjump

index 44218042baf5e162a510fe83f968a77f232a12cd..5c7e15f122b25599540caba5f302796ec7becc44 100755 (executable)
--- a/muttjump
+++ b/muttjump
@@ -170,7 +170,7 @@ fi
 count=$(echo "$orig_msgfiles" | wc -l)
 if [ $count -gt 1 -a -n "$DIALOG_PROG" ] ; then
     choices=$(echo "$orig_msgfiles" | while read line ;
 count=$(echo "$orig_msgfiles" | wc -l)
 if [ $count -gt 1 -a -n "$DIALOG_PROG" ] ; then
     choices=$(echo "$orig_msgfiles" | while read line ;
-        do echo -e "$(dirname "$(dirname "$line")")\n." ; done)
+        do dirname "$(dirname "$line")" ; echo . ; done)
     maxwidth=$(echo "$choices" | wc -L)
     orig_maildir=$($DIALOG_PROG --clear --title "More than one mailbox found" \
         --menu "Select mailbox:" $((count+8)) $((maxwidth+16)) \
     maxwidth=$(echo "$choices" | wc -L)
     orig_maildir=$($DIALOG_PROG --clear --title "More than one mailbox found" \
         --menu "Select mailbox:" $((count+8)) $((maxwidth+16)) \

Benjamin Mako Hill || Want to submit a patch?