On Fri, 18 Feb 2005, Khepri wrote:
> Bill Canaday wrote:
>
>
> > Just like Remington will let you blow your own leg off.
>
> LOL...that's true!
>
> Investigating it a bit it seems that the major
> difference is perl scripts can be executable?
Lost the thread. The difference between perl scripts and what?
But anyway, in Un*x, any file can be executable. It doesn't depend on the
file's name as it does in some other OSes. Permissions are metadata, stored
along with the file's name, dates, ownership, etc.
If the user asks to run a particular file (usually by typing its name), it's
up to the OS to figure out how to run it. It looks to see if the first two
characters are "#!". If they are, the OS treats the rest on the line as an
interpreter (so the file is a script -- perl, bash, expect, or
what-have-you) and feeds the file to it.
--
-eben ebQenW1@EtaRmpTabYayU.rIr.OcoPm home.tampabay.rr.com/hactar
Answer: two spoonfuls in my cup, please.
Question: how much should I use? (why top-posting is bad)
http://www.fscked.co.uk/writing/top-posting-cuss.html
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:38:09 EDT