Sachin Garg forced the electrons to say:
> "Binand Raj S." wrote:
> > script with the 'x' bit on and directly from command line ( as ./script)
> > and as sh ./script.
> sorry for splitting hairs, but I guess the 1st one should be:
> . ./script

Nope. What I wrote is what I meant. That is, if I have a file script in my
$PWD, then chmod +x ./script; ./script.

OK, there were three usages in my earlier post.

1) . ./script (or source ./script)
2) sh ./script (csh ./script also)
3) ./script (similar to ./a.out)

Binand

-- 
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])


-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting.  The site is
at http://botsie.tripod.com/beforeposting/

Reply via email to