I have two script files and I execute them as follows:
-
#script1
echo ppp
exit 0
echo qqq
/root ./script1
ppp
-
#script2
if (exit 0) then
echo ppp
fi
/root ./script2
ppp
-
In script1,
On Wednesday 19 Jan 2011 10:42:21 ali hagigat wrote:
I have two script files and I execute them as follows:
-
#script1
echo ppp
exit 0
echo qqq
/root ./script1
ppp
-
#script2
if (exit 0) then
echo ppp
fi
On Wed, Jan 19, 2011 at 10:49:47AM +, Davide Brini wrote:
In your second script, the exit 0 part runs in a subshell, so exit exits
that subshell (and I'm somewhat surprised that no semicolon is required after
the closing bracket, but I may have missed something in the grammar).
He had
On Wed, Jan 19, 2011 at 01:43:34PM +, Davide Brini wrote:
From wikipedia:
Parentheses (singular, parenthesis) ??? also called simply brackets (UK), or
round brackets, curved brackets, oval brackets, or, colloquially, parens...
Oh joy... another weird British thing I wasn't aware of.
hello,
I did something like that:
$ help *
and I got all the definitions of builtins starting from the letter 'c'
that is from 'caller' through 'coproc'.
Well, my goal was - as you probably happen to know it already ;) - to
see if I could display ALL the builtins defs, but well... I got what I
On 20.01.2011 01:22, SÅ‚awomir Iwanek wrote:
hello,
I did something like that:
$ help *
and I got all the definitions of builtins starting from the letter 'c'
that is from 'caller' through 'coproc'.
Well, my goal was - as you probably happen to know it already ;) - to
see if I could display