From owner-freebsd-current Fri Apr 17 18:08:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA28402 for freebsd-current-outgoing; Fri, 17 Apr 1998 18:08:18 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA28267 for ; Sat, 18 Apr 1998 01:07:39 GMT (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id BAA21154; Sat, 18 Apr 1998 01:07:27 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id DAA00426; Sat, 18 Apr 1998 03:07:27 +0200 (MET DST) Message-ID: <19980418030726.52891@follo.net> Date: Sat, 18 Apr 1998 03:07:26 +0200 From: Eivind Eklund To: Brian Somers Cc: current@FreeBSD.ORG Subject: Re: Bug in sh? References: <19980417193737.36274@follo.net> <199804180041.BAA21776@awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199804180041.BAA21776@awfulhak.org>; from Brian Somers on Sat, Apr 18, 1998 at 01:41:08AM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 18, 1998 at 01:41:08AM +0100, Brian Somers wrote: > [.....] > > #!/bin/sh > > . < > `SHELL=sh && export SHELL && tset -s -Q \?$TERM < /dev/tty` > > EOF > [.....] > > The second version doesn't work - it exits immediately, and seems to > > run tset _after_ the shell has quit. > > This isn't a bug as you describe it. IMHO, the bug is that the shell > doesn't complain that you've failed to pass ``.'' a file name. My fault. I always forget that <