hush: return builtin by Bayram Kurumahmut (kbayram AT ubicom.com)

~+200 bytes
This commit is contained in:
Denis Vlasenko
2009-04-17 23:44:18 +00:00
parent 3be2308676
commit 3d40d8e655
3 changed files with 91 additions and 14 deletions

View File

@@ -0,0 +1,4 @@
One:1
Zero:0
One:1
Five:5

View File

@@ -0,0 +1,8 @@
f() { false; return; echo BAD; };
{ f; echo One:$?; }; echo Zero:$?
f() { false; return; };
f; echo One:$?
f() { return 5; };
f; echo Five:$?