[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash Script Problem



On Mon, Aug 26, 2002 at 11:27:01AM -0500, Jamin W. Collins wrote:
| On 26 Aug 2002 12:06:26 -0400
| "R. Bradley Tilley" <rtilley@vt.edu> wrote:
| 
| > is there a .sh on the end of the script's name?
| 
| And the presence of such would indicate what?

User experience with windows :-).  As Jamin implies, UNIX systems
don't care what the _name_ of the file is, just the contents.  The #!
line tells the shell what interpreter to use, but that is only used if
the file is invoked directly.  People often put .sh on the end of the
name of a script, but that is merely so the _person_ reading 'ls'
output or some such can see what the file is.

-D

-- 
He who belongs to God hears what God says.  The reason you do not hear
is that you do not belong to God.
        John 8:47
 
http://dman.ddts.net/~dman/

Attachment: pgpu2o9sCTufk.pgp
Description: PGP signature


Reply to: