Hi Gunnar, Gunnar Wolf wrote:
> 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 echo -e in that case will print two new lines at the end, while your proposed patch only prints one. $ echo -e "\n" | wc -l 2 $ printf "\n" | wc -l 1 $ printf "foo" | wc -l 0 > apt-cache policy >&3 2>&1 > else .. > > > Greetings, > Cheers, -- Atomo64 - Raphael Please avoid sending me Word, PowerPoint or Excel attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

