Hacker News new | ask | show | jobs
by eridius 4842 days ago
Yeah I would have expected `fg` to continue the loop, but it doesn't. If I put `echo $?` after the subshell in that loop, it doesn't even print when I run `fg`. It's like bash just throws away the loop entirely when I suspend the subshell.
1 comments

Yeah that's a famously annoying bug in bash.