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: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 54 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 19:20:15 |
| Calls: | 742 |
| Files: | 1,218 |
| D/L today: |
5 files (8,203K bytes) |
| Messages: | 184,913 |
| Posted today: | 1 |