From owner-freebsd-bugs Fri Oct 20 04:01:19 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA29286 for bugs-outgoing; Fri, 20 Oct 1995 04:01:19 -0700 Received: from antares.mcs.anl.gov (mcs.anl.gov [140.221.9.6]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA29281 for ; Fri, 20 Oct 1995 04:01:17 -0700 Received: from obie (obie.mcs.anl.gov [140.221.5.129]) by antares.mcs.anl.gov (8.6.10/8.6.10) with ESMTP id GAA28909; Fri, 20 Oct 1995 06:01:04 -0500 From: Gene Rackow Date: Fri, 20 Oct 1995 06:01:03 -0500 Message-Id: <199510201101.GAA12098@obie> To: freebsd-bugs@freebsd.org Subject: FreeBSD bug in /bin/sh ? Cc: rackow@mcs.anl.gov Sender: owner-bugs@freebsd.org Precedence: bulk It appears that there is a bug in the /bin/sh of FreeBSD. It is there in version 1.5.1.1 and version 2.1.0-950928-SNAP. The following script is an example. On every other machine I've tried, this results in output of "foobar" to the screen. #! /bin/sh echo -n foo 1>&1 echo bar 1>&1 GNU version 2 configure uses this with echo -n to put "Checking for ..." on the terminal before doing the test, and then printing the answer on the same line. --Gene Gene Rackow email: rackow@mcs.anl.gov Math & Computer Science voice: 708-252-7126 Argonne National Lab FAX: 708-252-5986 9700 S. Cass Ave. / Argonne, IL 60439