Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 1998 11:55:35 -0800 (PST)
From:      giffunip@asme.org
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/6087: sh doesn't work properly on certain configuration scripts
Message-ID:  <199803211955.LAA15097@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         6087
>Category:       bin
>Synopsis:       sh doesn't work properly on certain configuration scripts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 21 12:00:01 PST 1998
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Organization:
U. Nacional de Colombia
>Release:        2.2.5-R
>Environment:
FreeBSD giffuni.usc.unal.edu.co 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Wed Mar 18 23:19:52 COT 1998     pedro@giffuni.usc.unal.edu.co:/usr/src/sys/compile/COMPAQ  i386  
>Description:
While using a configure script a problem with FreeBSD's sh was revealed.
The author of the script claims this is not a bash specific feature.
TBH Solaris doesn't have this bug either
>How-To-Repeat:
#!/usr/bin/sh

foobar=""
if test -n ""$foobar; then
         echo "Help, I am broken"
fi 
>Fix:

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803211955.LAA15097>