[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <10860.1228542083@turing-police.cc.vt.edu>
Date: Sat, 06 Dec 2008 00:41:23 -0500
From: Valdis.Kletnieks@...edu
To: Américo Wang <xiyou.wangcong@...il.com>
Cc: Geralt <usr.gentoo@...glemail.com>, linux-kernel@...r.kernel.org
Subject: Re: Shebang - why are parameters not splitted on whitespace?
On Sat, 06 Dec 2008 01:04:52 GMT, Américo Wang said:
> On Wed, Dec 3, 2008 at 5:29 PM, Geralt <usr.gentoo@...glemail.com> wrote:
> > Hello,
> >
> > I should have anticipated this objection :-). I'm aware that this is
> > not consistent among Unix operating systems (you can find more about
> > it here [1]), but I was specifically refering to linux in this case
> > and why it handles the shebang arguments as one big string and not as
> > single arguments for the application.
>
> I can't think out any strong reasons, maybe only becasue Linux developers
> prefer that approach.
And of course, "whitespace" is a somewhat fungible concept. 'man bash'
and read about $IFS.
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists