Return in Paranthesis Does Not Return from Function
hi() {
# Return wont work as expected since it will exit out of parenthesis
# and not the hi function. Allowing this method to continue further.
echo "blah" | grep o1 || (echo "nope"; return 1)
echo "FINISHED in HI"
}
hi
Backlinks