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: | 498677:09:54 |
| Calls: | 212 |
| Calls today: | 3 |
| Files: | 910 |
| D/L today: |
31 files (22,593K bytes) |
| Messages: | 69,826 |