dash/ash
dash/ash
Posted Oct 2, 2014 14:23 UTC (Thu) by nix (subscriber, #2304)In reply to: dash/ash by Jandar
Parent article: Bash gets shellshocked
There are things you can do with arrays stored as files that you can't do in any other way -- e.g. high-speed filtration and set-membership queries with comm(1) and grep. Since the primary priority when making a shell script fast enough to be useful is converting all loops into pipelines, and comm(1) is invaluable in that, I'm not sure why you'd ever want to use arrays in any other form, really.
