[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?
Re: bash 'let' can give error,
Greg Wooledge <=
Re: bash 'let' can give error, Ken Irving, 2010/12/10
Re: bash 'let' can give error, Andreas Schwab, 2010/12/10