Date: Sat, 18 Apr 1998 01:41:08 +0100 From: Brian Somers <brian@Awfulhak.org> To: Eivind Eklund <eivind@yes.no> Cc: current@FreeBSD.ORG Subject: Re: Bug in sh? Message-ID: <199804180041.BAA21776@awfulhak.org> In-Reply-To: Your message of "Fri, 17 Apr 1998 19:37:37 %2B0200." <19980417193737.36274@follo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[.....] > #!/bin/sh > . <<EOF > `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. If the above syntax was ok, then command | . would also be ok (although the same as ``command | sh'' unless you're running a *real* ksh) :-/ Anyway, it just looks weird. > Eivind. -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804180041.BAA21776>