Whether or not this type of error aborts depends upon there being an actual 
newline.

    $ bash -c 'echo pre; foo=$((8#9)); echo post' 2>&1
    pre
    bash: 8#9: value too great for base (error token is "8#9")

    $ bash -c $'echo pre\nfoo=$((8#9))\necho post' 2>&1
    pre
    bash: line 1: 8#9: value too great for base (error token is "8#9")
    post

Only applies to non-POSIX mode.
-- 
Dan Douglas

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to