*BSD News Article 31991


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:11083 gnu.misc.discuss:15345
Newsgroups: comp.os.386bsd.questions,gnu.misc.discuss
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!convex!nrc.com!kosman!kevin
From: kevin@kosman.uucp (Kevin O'Gorman)
Subject: Re: Taylor UUCP on FreeBSD???
Message-ID: <1994Jun23.144358.20519@kosman.uucp>
Organization: Vital Software Services, Oxnard, CA
References: <1994Jun13.040754.17764@kosman.uucp> <RSANDERS.94Jun21155032@hrothgar.mindspring.com> <2u7tcb$6mr@pdq.coe.montana.edu> <RSANDERS.94Jun22110639@hrothgar.mindspring.com> <2ua21l$d4g@pdq.coe.montana.edu>
Date: Thu, 23 Jun 1994 14:43:58 GMT
Lines: 49

nate@bsd.coe.montana.edu (Nate Williams) writes:

>In article <RSANDERS.94Jun22110639@hrothgar.mindspring.com>,
>Robert Sanders <rsanders@mindspring.com> wrote:
>>In article <2u7tcb$6mr@pdq.coe.montana.edu> nate@bsd.coe.montana.edu (Nate Williams) writes:
>>It seems to me that as one of the principal developers of a respected
>>and important operating system, it should be more important to you
>>that things work than is apparent here.

>I get lots of 'it's broken', but no details.  I can't fix a bug that I
>don't know it's symptoms.  'It works for me' is my excuse.

>How about this.  If you have a reproducible bug with ash, send me th
>bug-report with enough info. to track down the bug.  I was given an
>individuals name in private email who was 'volunteered' to fix the bugs
>in ash.

Okay.  I started this because I couldn't get Taylor to work, or Taylor 1.05
to configure (ash gets into some poorly-described malloc trouble a while
into 'sh configure').  But I'll give you another bug as a bonus.

This is a much-distilled problem from the C-news censor program anne.jones,
which produces a syntax error, apparently when parsing the if structure,
but before executing any of it.  Results:

kevin! bash ann
kevin! sh ann
ann: 1: Syntax error: Bad fd number
kevin! ...

># On other UNIX systems I have tried, the 'who am i' line executes okay
># with nearly any value of $fd, though the original script (before my
># distillation) ensure that $fd is a terminal (with 'test -t $fd').
>#
># On FreeBSD, no amount of attempts to prevent execution seems to prevent
># a syntax error.
>
>USER="kevin"
>fd=0
>if [ 0 != 0 ]; then
>	case "$USER" in
>	"Neverhappen")
>		USER="`who am i <&$fd`" ;;
>	esac
>fi
-- 
Kevin O'Gorman ( kevin@kosman.UUCP, kevin%kosman.uucp@nrc.com )
voice: 805-984-8042 Vital Computer Systems, 5115 Beachcomber, Oxnard, CA  93035
Non-Disclaimer: my boss is me, and he stands behind everything I say.