bug-bash
[Top][All Lists]
Advanced

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

arithmetic syntax error loop after declaration of exported integer varia


From: D630
Subject: arithmetic syntax error loop after declaration of exported integer variable
Date: Mon, 20 Mar 2017 23:52:04 +0100
User-agent: Posteo Webmail

I get an infinite error loop in B, and I suppose that's not because of my settings.

# A

bash$ unset -v foo; declare -i foo; foo='bar bar'
bash: bar bar: syntax error in expression (error token is "bar")

# B

bash$ unset -v foo; foo='bar bar' declare -x -i foo
[...]



reply via email to

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