IT-DISCUSS Archives

June 2006

IT-DISCUSS@LIST.UVM.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Wesley Alan Wright <[log in to unmask]>
Reply To:
Technology Discussion at UVM <[log in to unmask]>
Date:
Wed, 28 Jun 2006 11:43:04 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
On Jun 28, 2006, at 11:30 AM, Curt Duncan Taylor wrote:

>
>
> Shouldn't someone be able to say - "OK, because you don't specify  
> otherwise in your script, you are using this scripting language  
> version x.xxxx and you can get up-to-date documentation at this web  
> site?"
>

OK, how bout this: make this the first line in the script

	#!/bin/bash

And then you know it will use bash.

(who-what-how launches your script? there might be some clue there  
what shell it is using)

Documentation

	http://www.google.com/search?q=shell+scripting+bash


> AllIwanando is write a working "if" statement.
>
> Sorry, if this sounds a little rantish.

Sorry, this is a University, an Institution of Higher Learning. You  
must learn something (more than you asked for) from this experience.

ATOM RSS1 RSS2