Skip site navigation (1)Skip section navigation (2)
Date:      28 Jul 1996 20:07:15 GMT
From:      peter@spinner.DIALix.COM (Peter Wemm)
To:        freebsd-current@freebsd.org
Subject:   Re: New wierdness since latest VM kernel.
Message-ID:  <4tgh9j$os4$1@haywire.DIALix.COM>
References:  <Pine.BSI.3.95.960727205623.284C-100000@Fieber-John.campusview.indiana.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199607280656.IAA07110@uriah.heep.sax.de>,
	j@uriah.heep.sax.de (J Wunsch) writes:
> As John Fieber wrote:
> 
>> > sgmlfmt -f html  /usr/src/share/doc/handbook/handbook.sgml
>> > /usr/bin/sgmlfmt: 30: Syntax error: "{" unexpected (expecting "then")
>> > *** Error code 2
>> 
>> Actully, that would be perl, if it makes any difference.
> 
> Not a big one, except that you might not even notice the failure if it
> _were_ a shell script. ;-)
> 
> What one can see here is simply that execve() failed (the #! has
> obviously not been interpreted correctly by the kernel, perhaps
> imgact_shell has not been called?), so the invoking shell falls back
> to `old-style' and tries to interpret the script itself.

Ouch, I saw this too, except "#! /bin/sh" was being ignored and tcsh was
trying to start the bourne shell script under $SHELL (tcsh)

It seems to be still happening right now.. :-(

-Peter

> -- 
> cheers, J"org
> 
> joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
> Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4tgh9j$os4$1>