Manuel Prinz wrote:

> Package: sn
> Tags: patch
> Followup-For: Bug #486057
> 
> The attached patch fixes this and another bashism in the source. I did not
> test it for functionality since I am not a sn user. From what I know about
> shell programming, I'm pretty sure it works though.

> -       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}" |

> 
> Best regards
> Manuel
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (500, 'testing'), (200, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash

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]

Reply via email to