[lkml]   [2009]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/3] binfmt_script: rewrite using parse_shell_args()
    On Fri, Feb 06, 2009 at 12:25:56PM -0800, Andrew Morton wrote:
    > On Thu, 5 Feb 2009 22:47:43 +0200
    > "Kirill A. Shutemov" <> wrote:
    > > parse_shell_args() allows to use more than one argument in shebang
    > What is the benefit in all of this? Why should we merge it??

    Now, we have to write wrapper if we need to pass more than one argument
    to the interpreter.

    For example, now we can't write something like

    #!/usr/bin/env python -c

    in shebang. It will be interpreted as /usr/bin/env "python -c" and we will
    get ENOENT.

    With the patch it will be interpreted according to shell syntax.

    Regards, Kirill A. Shutemov
    + Belarus, Minsk
    + ALT Linux Team,
    [unhandled content-type:application/pgp-signature]
     \ /
      Last update: 2009-02-06 21:51    [W:0.019 / U:17.076 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site