[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Execing perl?
From: |
Sven Mascheck |
Subject: |
Re: Execing perl? |
Date: |
12 Jul 2001 06:06:09 +0200 |
User-agent: |
tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.8 (sun4u)) |
William Bloom <william.bloom@pegs.com> wrote:
> I'm almost led to believe that the Linux kernel is not applying 'word'
> processing to the remainder of the line after the first word (the command
> path) following #! during parsing. Apparently, FreeBSD and Solaris apply
> 'word' processing to the whole line (using whitespace to delimit words).
- Solaris/sparc does not, it delivers only the first "argument".
- FreeBSD is the only one i know to deliver them "separated".
(couldn't try on NetBSD yet)
- Many systems deliver "all args in one" (which you saw also on Linux).
- SunOS4 cuts off after 32 bytes, btw.
See more details for various unix flavours at the bottom of
<http://www.uni-ulm.de/~s_smasch/shebang/>
Sven