lkml.org 
[lkml]   [2004]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Linux 2.6: shebang handling in fs/binfmt_script.c
    Hansjoerg wrote:
    > I still don't understand your argument... If there is a shell having
    > those problems, nobody would use something like

    I will acknowledge that while one _could_ code a shell so that your
    proposed change would break it, it would be a stupid, silly and ugly
    way to code a shell.

    That is, one _could_ code a shell to say:

    1) If argv[1] starts with a '-', consume and handle as an option
    (or possibly as a space separated list of options).
    2) Presume the next argument, if any, is a shell script file.

    I would be surprised if any of the major shells are coded this way.

    --
    I won't rest till it's the best ...
    Programmer, Linux Scalability
    Paul Jackson <pj@sgi.com> 1.650.933.1373
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:2.980 / U:0.624 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site