dash/ash
dash/ash
Posted Oct 1, 2014 22:36 UTC (Wed) by Jandar (subscriber, #85683)In reply to: dash/ash by wahern
Parent article: Bash gets shellshocked
> One lesser-known way is by using the "set -- [...]" construct, which resets your local argument vector.
One global array is hardly a replacement for the bash arrays. Btw the set builtin is well-known.
> A more common method is using read(1).
Do you mean managing arrays in multiple tempfiles and reading (+ writing with ugly escapes) on any usage? Appalling.
The omission of arrays in posix-shell is the major reason for me to ignore it and use bash.
