bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash 'let' can give error


From: Greg Wooledge
Subject: Re: bash 'let' can give error
Date: Fri, 10 Dec 2010 10:15:40 -0500
User-agent: Mutt/1.4.2.3i

On Thu, Dec 09, 2010 at 05:52:49PM +0000, Dominic Raferd wrote:
> Why does this happen? Is it 'by design'? It makes arithmetic with bash 
> let very dangerous because it can throw unexpected errors (and break 
> scripts running with  set -e).

http://mywiki.wooledge.org/BashFAQ/105 -- Why doesn't set -e (set -o
errexit) do what I expected?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]