bug-bash
[Top][All Lists]
Advanced

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

Bug in function return statement in while subshell


From: Roman Rakus
Subject: Bug in function return statement in while subshell
Date: Mon, 29 Jul 2013 16:55:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

I didn't take a look on where the problem could be, but it is discussed on stackoverflow [1].

Looks like return builtin falsely exit execution of while loop instead of function.


[1] http://stackoverflow.com/questions/7109720/behavior-of-return-statement-in-bash-functions

RR



reply via email to

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