Kerry,

When you write a shell script you can specify which scripting language you
want in the first line of the file.

This is often called the "hash bang" line because it could be:

#!/bin/sh
# this line is a comment unlike the previous line
echo blah
exit

So there is no need to call one script from another - in fact you may find
other problems.


Maybe the CLUG could have a preso about scripts one Tuesday evening ?

Ciao,

John


----- Original Message -----
From: "Kerry Mayes" <[EMAIL PROTECTED]>
To: <linux-users@it.canterbury.ac.nz>
Sent: Thursday, April 17, 2008 12:44 PM
Subject: Re: Help with shell scripting


> Aargh
>
> One final question.  I was trying to add this scriptlet into an
> existing ubuntu script.  The existing one uses /sh (which is why I was
> using that).
>
> Should I try to convert it to /sh (shudder), or should I call the
> /bash script from within the /sh script?
>
> Kerry.

Reply via email to