Changes between Initial Version and Version 1 of Ticket #36682, comment 3
- Timestamp:
- Jul 2, 2015, 2:49:30 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36682, comment 3
initial v1 1 This works properly for me. Maybe there is confusion between "function f" and "g()" style functions. The former has locally-scoped variables with the typeset builtin, (unless invoked with the . special builtin). The latter has shared variables. Or maybe it's expecting ksh to behave similarly to bash. Read ksh(1) man page below the "Functions." heading. Bash compatibility is under development, but may be tried by invoking ksh by the linked name "bash" or "ksh -o bash". A test script and its output are attached.1 This works properly for me. Maybe there is confusion between "function f" and "g()" style functions. The former has locally-scoped variables with the typeset builtin, (unless invoked with the . special builtin). The latter has shared variables. Or maybe it's expecting ksh to behave similarly to bash. Read ksh(1) man page below the "Functions." heading. Bash compatibility is under development, but may be tried by invoking ksh by the linked name "bash" or by "ksh -o bash". A test script and its output are attached.