Re: exit 0 or exit 1

2001-10-23 Thread Joe Echavarria
Those it also apply to shell scripts ? --- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote: > On Oct 23, Joe Echavarria said: > > > What is the diference when you write a subroutine > >and you type > > Well, exit() doesn't return from a subroutine -- it > stops the program. So > long as you k

Re: exit 0 or exit 1

2001-10-23 Thread Jeff 'japhy' Pinyan
On Oct 23, Joe Echavarria said: > What is the diference when you write a subroutine >and you type Well, exit() doesn't return from a subroutine -- it stops the program. So long as you know that... The exit() function returns the status of your program upon ending -- a successful program exit