From owner-freebsd-current Sun Jul 28 13:07:29 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA07754 for current-outgoing; Sun, 28 Jul 1996 13:07:29 -0700 (PDT) Received: from haywire.DIALix.COM (root@haywire.DIALix.COM [192.203.228.65]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA07745 for ; Sun, 28 Jul 1996 13:07:20 -0700 (PDT) Received: (from news@localhost) by haywire.DIALix.COM (8.7.5/8.7.3) id EAA27329 for freebsd-current@freebsd.org; Mon, 29 Jul 1996 04:07:16 +0800 (WST) Received: from GATEWAY by haywire.DIALix.COM with netnews for freebsd-current@freebsd.org (problems to: usenet@haywire.dialix.com) To: freebsd-current@freebsd.org Date: 28 Jul 1996 20:07:15 GMT From: peter@spinner.DIALix.COM (Peter Wemm) Message-ID: <4tgh9j$os4$1@haywire.DIALix.COM> Organization: DIALix Services, Perth, Australia. References: Subject: Re: New wierdness since latest VM kernel. Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)