Am Montag, den 30.06.2008, 22:13 -0500 schrieb Raphael Geissert:
> Manuel Prinz wrote:
> > -       echo -e "MODE READER\n$cmd\nquit" |
> > +       printf "MODE READER\n%s\nquit" "${cmd}" |
> 
> This is not correct, echo -e prints a new line at the end (unless -n or \c
> is used).
> 
> It should read:
> > -       echo -e "MODE READER\n$cmd\nquit" |
> > +       printf "MODE READER\n%s\nquit\n" "${cmd}" |

Right, missed that! Thanks for spotting it!

Best regards
Manuel

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to