Hello. I'm using pdksh
echo $KSH_VERSION
@(#)PD KSH v5.2.14 99/07/13.2
Base ksh(1) from OpenBSD 7.8
and I'm trying to create some arrays
with set -A (+a actually) while iterating a list under
a while. The loop works fine,
but the part from
set +A links $line
doesn't. Every $line it's fetched fine, that's
not the issue.
What's the proper syntax to fill an array in pdksh?
Several versions are really distinct from each other.
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 19:04:53 |
| Calls: | 117 |
| Calls today: | 117 |
| Files: | 367 |
| D/L today: |
546 files (254M bytes) |
| Messages: | 70,845 |
| Posted today: | 26 |