Article View: gnu.bash.bug
Article #826Re: bash doesn't handle ${<number>:-<stuff>} correctly...
From: Chet Ramey
Date: Mon, 11 Dec 1989 21:48
Date: Mon, 11 Dec 1989 21:48
37 lines
957 bytes
957 bytes
In article <8912090351.AA00729@team> tmb@AI.MIT.EDU (Thomas M. Breuel) reports
that stuff like ${1:-1} fails.
I have already sent a fix for this to Brian. Here's the output I get:
usenet$ sh seq 1 10
1 10
1
2
3
4
5
6
7
8
9
10
usenet$ bash seq 1 10
1 10
1
2
3
4
5
6
7
8
9
10
Chet Ramey
--
Chet Ramey
Network Services Group "Where's my froggie?"
Case Western Reserve University
chet@ins.CWRU.Edu
Technical Details
Message-ID:
<1989Dec11.214836.28330@usenet.ins.cwru.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!cwns1!chetReferences:
<8912090351.AA00729@team>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!cwns1!chet
From: chet@cwns1.CWRU.EDU (Chet Ramey)
Newsgroups: gnu.bash.bug
Subject: Re: bash doesn't handle ${<number>:-<stuff>} correctly...
Message-ID: <1989Dec11.214836.28330@usenet.ins.cwru.edu>
Date: 11 Dec 89 21:48:36 GMT
References: <8912090351.AA00729@team>
Reply-To: chet@cwns1.CWRU.EDU ()
Distribution: gnu
Organization: Case Western Reserve Univ. Cleveland, Ohio, (USA)
Lines: 37