On 2008-07-20 14:38 +0200, A Mennucc wrote:

> I do not understand this bug.
>
> Raphael Geissert ha scritto:
>> checkbashisms' output:
>>> possible bashism in ./usr/share/mplayer/scripts/binary_codecs.sh line 95
>>> (should be read [-r] variable): 
>>> read 
>
> what does this mean?

It means that dash will not wait for the user to hit the return key but
display the error message: "read: 1: arg count" and continue immediately
(or exit, if you have set -e).  You should use "read junk_var" (or any
other unused variable) instead.

> Anyway, I have tested the above script binary_codecs.sh using 'ash' and
> 'dash', and it works fine

Did you actually get to the line in question?

Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to