From owner-freebsd-bugs Sat Mar 21 12:00:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15968 for freebsd-bugs-outgoing; Sat, 21 Mar 1998 12:00:04 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15958; Sat, 21 Mar 1998 12:00:02 -0800 (PST) (envelope-from gnats) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA15097; Sat, 21 Mar 1998 11:55:35 -0800 (PST) (envelope-from nobody) Message-Id: <199803211955.LAA15097@hub.freebsd.org> Date: Sat, 21 Mar 1998 11:55:35 -0800 (PST) From: giffunip@asme.org To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/6087: sh doesn't work properly on certain configuration scripts Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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