NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/38736 (/bin/sh: several problems with 'set -e')



The following reply was made to PR bin/38736; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: Aleksey Cheusov <cheusov%tut.by@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, tron%NetBSD.org@localhost, 
netbsd-bugs%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost
Subject: Re: bin/38736 (/bin/sh: several problems with 'set -e')
Date: Mon, 26 May 2008 22:14:22 +0000

 On Mon, May 26, 2008 at 10:51:33PM +0300, Aleksey Cheusov wrote:
  > > http://www.opengroup.org/onlinepubs/000095399/utilities/set.html
  > No. You read this spec incorrectly. Reread it.
 
 Can you look at src/tests/util/sh/t_set_e.sh and submit any needed
 corrections (or additions) in one or more new PRs?
 
 If we do this all with respect to the specific behavior of specific
 examples (creating more when necessary) there might be some chance of
 getting all the details right. Otherwise, there are too many
 exceptions and combinations and confounding factors.
 
 (To run the thing, "compile" it, then cd obj && ./t_set_e. Note that
 you can also do env TEST_SH=ksh ./t_set_e to see what ksh does, or
 similarly for other shells.)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index