Subject: Re: Shell Bug? (/bin/sh)
To: None <arnej@pvv.unit.no>
From: David Mazieres <dm@amsterdam.lcs.mit.edu>
List: current-users
Date: 01/22/1996 02:59:17
> From: "Arne H. Juul" <arnej@pvv.unit.no>
> Date: Mon, 22 Jan 1996 00:42:03 +0100
> Sender: owner-current-users@NetBSD.ORG
> Precedence: list
> X-Loop: current-users@NetBSD.ORG
>
> > The following snippet of shell seems to have a problem.
> > (or rather, the shell has a problem....)
>
> I'm reminded of a bug in /bin/sh:
>
> chur:~:(502)$ sh
> $ echo "`"
>
> (it hangs).
> I'd completely forgot about it, I should've send-pr'd it long ago.
No it doesn't, you just have to close the backtick:
$ echo "`"
no command starts with a newline" -t /tmp`"
>
no command starts with a newline: not found
$
David