christos f9382bca1a Fix return builtin to work like it does in ksh:
When not in a function, it skips the rest of the current input file.
Instances of `return' outside function definitions were previously ignored.
What does joe posix have to say about this?
[fixes PR/1444]
1995-09-11 17:05:41 +00:00
..
1995-09-07 06:12:53 +00:00
1995-09-07 06:12:53 +00:00
1995-09-07 06:12:53 +00:00
1995-08-11 00:38:15 +00:00
1995-09-07 06:28:39 +00:00
1995-09-07 06:28:39 +00:00
1995-09-07 06:42:58 +00:00
1995-09-07 06:42:58 +00:00
1995-09-07 06:42:58 +00:00
1995-09-07 06:42:58 +00:00
1995-09-07 06:57:11 +00:00