bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request: a command to do a return completely in normal, ie. not subs


From: Dale R. Worley
Subject: Re: Request: a command to do a return completely in normal, ie. not subshell
Date: Tue, 15 Dec 2020 23:17:26 -0500

Budi <budikusasi@gmail.com> writes:
> Can we have a command to do a return completely (as if it returns from
> main function) when it is being in a third nested function call, in
> order to get back to shell prompt at once, in normal, ie. not
> subshell?

You probably want to use the "exit" command, if all of this is in a
shell script.

Dale



reply via email to

[Prev in Thread] Current Thread [Next in Thread]