[gnu.bash.bug] This is Mail to Brian Fox

djc@kesa.UUCP (Don Christensen) (12/07/89)

I am posting this to Brian Fox since I can't seem to reach him via mail.
I have tried a couple of different mail addresses with no luck.
(The aurel.cns.caltech.edu address is the address that was embedded
in the mail that I got from you, Brian.)

Brian,  this is what I get when I try to mail to you.
 
    From: daver!mips!aurel.cns.caltech.edu!MAILER-DAEMON (Mail Delivery Subsys)
    Subject: Returned mail: Host unknown
    
       ----- Transcript of session follows -----
    421 Host sbphy.ucsb.edu not found for mailer tcpld.
    550 bfox@sbphy.ucsb.edu... Host unknown
    
       ----- Unsent message follows -----
    Received: from csvax.caltech.edu by aurel.cns.caltech.edu (4.0/1.34)
	    id AA06492; Tue, 5 Dec 89 23:48:05 PST
    Received: by csvax.caltech.edu (5.59/1.2)
	    id AA25884; Tue, 5 Dec 89 23:43:40 PST
    ...
    

Anyway, the problem I found has apparently been fixed and diffs have been sent
to you by Chet Ramey.  Greg Onufer discovered that the actual problem
was in the way bash dealt with variables such as ${1}.  The script that
failed had the following in it:

exec /bin/expr "/${1:-.}" ......

It appears that $1 is not being expanded (is null), so a "." is returned.
If you need anything else, let me know.

Thanks for all the hard work you have done.  1.04 works marvelously on
Interactive's 386ix.

Keep up the good work!
        Don
-- 
Don Christensen                | UUCP:       ...{sun}!daver!kesa!djc 
Kesa Corporation               | Internet:   djc@kesa.UUCP
Santa Clara, CA (209) 944-7068 | Home Phone: (415) 966-1842

bfox@sbphy.ai.mit.edu (Brian Fox) (12/07/89)

My permanent mailing address is bfox@ai.mit.edu.

Brian