On Mon, Jul 14, 2008 at 10:45:25PM +0200, Giulio Orsero wrote:
> ============ /lib/udev/check-cdrom.sh
> #!/bin/bash
...
>         pos=$[$pos+1]

Dear gods.  Didn't anyone tell them that $[ is deprecated?

pos=$(($pos+1))

... is the preferred syntax, and is POSIX/ksh compatible.


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

Reply via email to