Ravi Sir's Cards › AWS
return vs echo in a function?
This interview card answers: return vs echo in a function? Return gives a status 0-255. Echo gives data to capture. Capture.
Read card text
What this card says
What it is
return gives a status 0-255.
Why it matters
echo gives data to capture.
How / example
Capture.
v=$(get_ver)