Subject: Re: exit/return: /bin/sh in netbsd vs. /bin/sh in freebsd
To: Lubos Vrbka <shnek@chemi.muni.cz>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 04/16/2003 16:42:21
> > You should use 'exit' to terminate a shell.

> ok, i'll replace returns by exits... hope that exit will terminate only the
> script being executed, not the one that called it :o)

Yes, because the script is executed by a different shell.
(unless you did '. filename' to get the current shell to read the
commands from filename.)

	David

-- 
David Laight: david@l8s.co.uk