lkml.org 
[lkml]   [2008]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Shebang - why are parameters not splitted on whitespace?
From
Date
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@googlemail.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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-12-06 06:45    [from the cache]
©2003-2011 Jasper Spaans