Subject: Re: Changing exec's #! behavior
To: Christos Zoulas <christos@zoulas.com>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 06/13/2000 17:14:19
On Tue, Jun 13, 2000 at 06:45:20PM -0400, Christos Zoulas wrote:

 > ok, then it might break things like
 > 
 > #!/bin/sh	# execute the shell.
 > 
 > But I guess, fine I think it is more reasonable to pass the argv vector.

Before:

dr-evil:thorpej 4$ ./foo.sh
# execute the shell.: Can't open # execute the shell.
dr-evil:thorpej 5$  

After:

sysbuild:thorpej 45$ ./foo.sh
#: Can't open #
sysbuild:thorpej 46$

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>