Bug#850202: dash: test with multiple conditions cannot handle variable whose expanded value is same as an operator

2022-12-17 Thread наб
Control: tags -1 + upstream wontfix Hi! On Thu, Jan 05, 2017 at 12:53:57AM +0100, J G Miller wrote: > In Bourne shell script with dash, using either [ ] or test, >test -n "${variable}" && echo "variable is set to -->${variable}<--" > works as expected even if the value of variable is to a val

Bug#850202: dash: test with multiple conditions cannot handle variable whose expanded value is same as an operator

2017-01-04 Thread J G Miller
Package: dash Version: 0.5.7-4+b1 Severity: normal In Bourne shell script with dash, using either [ ] or test, test -n "${variable}" && echo "variable is set to -->${variable}<--" works as expected even if the value of variable is to a value the same as a test operator eg -ne or -nt varia