From: Michael Campbell Date: 2004-10-06T02:54:47+09:00 Subject: Re: env question On Wed, 6 Oct 2004 00:49:55 +0900, Robert Klemme wrote: > 17:46:28 [ruby]: for sh in `cat /etc/shells` ; do echo $sh; $sh -c ./a.rb; > done > /bin/sh > yes! .. Robert, you're EXPLICITLY running each shell; that's different from what Ara did; he was having the shell parse the #! line. If you go with "$sh -c rubyscript", you don't need the #! at all, which makes the question moot, no?