Re: `test -R' not working

2014-03-01 Thread NBaH
Le 01/03/2014 03:26, Chet Ramey a écrit : Thanks for the report. A line got dropped from a merge back during development. I've attached a patch that fixes this and one other problem with -R. Chet it works now. thank you.

Re: `test -R' not working

2014-02-28 Thread Chet Ramey
On 2/28/14, 4:50 PM, NBaH wrote: > Bash Version: 4.3 > Patch Level: 0 > Release Status: release > > Description: > > $ var="foo bar" > $ declare -n nameref=var > $ echo "${!nameref} = $nameref" > var = foo bar > $ test -R nameref && echo ok || echo ko > bash: test: -R: unary operator expected >

`test -R' not working

2014-02-28 Thread NBaH
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Rompilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/home/nbah/shar