Re: misleading error message from variable modifier

2018-03-01 Thread Clark Wang
On Fri, Mar 2, 2018 at 12:37 PM, don fong wrote: > Chet, thanks. in subst.c there is code that looks similar to what i had > suggested. but i don't see the tests that i submitted. i also don't see > the change listed in CHANGES? > It's in the file CWRU/CWRU.chlog:

Re: misleading error message from variable modifier

2018-03-01 Thread don fong
Chet, thanks. in subst.c there is code that looks similar to what i had suggested. but i don't see the tests that i submitted. i also don't see the change listed in CHANGES? On Thu, Mar 1, 2018 at 11:09 AM, Chet Ramey wrote: > On 3/1/18 12:24 PM, don fong wrote: > > any feedback on this

Re: misleading error message from variable modifier

2018-03-01 Thread Chet Ramey
On 3/1/18 12:24 PM, don fong wrote: > any feedback on this patch? Check the current devel git branch. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/

Re: misleading error message from variable modifier

2018-03-01 Thread don fong
any feedback on this patch? On Sat, Feb 24, 2018 at 11:24 AM, Chet Ramey wrote: > On 2/23/18 10:20 PM, don fong wrote: > > hi folks. i'm a bash user, who just noticed a slight anomaly. it has > > to with the shell variable modifier ${parameter?} . according to the > > man page, ${X?} should y

Re: Hi, I think I found a bug in a Ubuntu Bash here-document

2018-03-01 Thread Chet Ramey
On 2/28/18 12:41 PM, Benqzq wrote: > I wrote a minimal, detailed, replicable and markdowned description of the > problem in the following link and I report this after days of testing and > not "on the fly": > > https://serverfault.com/questions/898964/copy-paste-into-digitalocean-modified-ubuntu-b

Re: Hi, I think I found a bug in a Ubuntu Bash here-document

2018-03-01 Thread Chet Ramey
On 2/28/18 12:41 PM, Benqzq wrote: > I wrote a minimal, detailed, replicable and markdowned description of the > problem in the following link and I report this after days of testing and > not "on the fly": I can't reproduce it pasting into a Mac OS X Terminal window with an ssh connection to an U

Re: Unset array doesn't work

2018-03-01 Thread Chet Ramey
On 3/1/18 8:26 AM, Greg Wooledge wrote: > On Thu, Mar 01, 2018 at 10:34:30AM +0800, Clark Wang wrote: >> Look at your answer to my question 6 years ago: >> http://lists.gnu.org/archive/html/bug-bash/2012-04/msg00186.html > > I'm supposed to remember stuff from 6 years ago? Well crap, I'm in > tro

Re: Unset array doesn't work

2018-03-01 Thread Greg Wooledge
On Thu, Mar 01, 2018 at 10:34:30AM +0800, Clark Wang wrote: > Look at your answer to my question 6 years ago: > http://lists.gnu.org/archive/html/bug-bash/2012-04/msg00186.html I'm supposed to remember stuff from 6 years ago? Well crap, I'm in trouble then. Seriously, this behavior needs to be d