Subject: Re: misc/23729: Syntax error: "(" unexpected
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 10/08/2006 11:55:01
The following reply was made to PR misc/23729; it has been noted by GNATS.

From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc: misc-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, refling@acm.org
Subject: Re: misc/23729: Syntax error: "(" unexpected
Date: Sun, 8 Oct 2006 12:49:13 +0100

 On Sun, Oct 08, 2006 at 01:10:03AM +0000, David Holland wrote:
 >  
 >  The behavior exhibited by sh and ksh is historic, but hasn't been
 >  useful since #! was invented, which was a long time ago.
 
 Actually it looks as though the other shells do a rudimentary check
 that the file is a text file before executing it as a script.
 
 If you give them a C source file you'll probobably find they try to
 parse it as commands.
 
 	David
 
 -- 
 David Laight: david@l8s.co.uk