shell scripts interpret

shell scripts interpret

am 01.12.2007 14:37:07 von Rahul

Hi Everyone,

It is known that shell scripts are executables which aren't compiled
and are just checked at run time or interpreted. How does the grammar
check for various commands happen in such case?

Thanks in advance!!!

Re: shell scripts interpret

am 01.12.2007 20:53:35 von Barry Margolin

In article
<6be4ae75-8ee2-4b94-a16a-74ee766f2b58@a39g2000pre.googlegroups.com>,
Rahul wrote:

> Hi Everyone,
>
> It is known that shell scripts are executables which aren't compiled
> and are just checked at run time or interpreted. How does the grammar
> check for various commands happen in such case?

The shell checks the syntax of each command in the script as it executes
it, just as it does when you're typing them interactively.
--
Barry Margolin
Arlington, MA