9 lines
144 B
Plaintext
9 lines
144 B
Plaintext
|
f() { false; return; echo BAD; };
|
||
|
{ f; echo One:$?; }; echo Zero:$?
|
||
|
|
||
|
f() { false; return; };
|
||
|
f; echo One:$?
|
||
|
|
||
|
f() { return 5; };
|
||
|
f; echo Five:$?
|