What's a script?

Steve Flynn anothermindbomb at gmail.com
Mon Jul 13 13:35:25 UTC 2009


On Mon, Jul 13, 2009 at 1:52 PM, Siggy Brentrup<ubuntu at psycho.i21k.de> wrote:

>> What if the first line of the script is
>>
>> #! /bin/ksh
>>
>> indicating that the following commands should be interepreted by the
>> Korn Shell. Should it still be referred to as a "bash file" even if
>> the script relies on specific builtin commands only implemented by the
>> Korn shell?
>
> Though correct, I think this doesn't clear things up for the OP.
>
> Since the early days of Unix[tm] files containing commands interpreted
> by the shell (usually /bin/sh) were called "shell scripts". I just
> can't recall if the term is already used in the faumous '70 article in
> Bell Journal.  </nitpick>

I cmpletely agree. I've used the term shell script since I was first
introduced to a VT-52 terminal around 1981. Calling a collection of
commands a "bash file" is a misnomer which is what I was attempting to
point out to K. F. Larsen.


-- 
Steve
When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0




More information about the ubuntu-users mailing list