If you want to make things even more spicy, try doing in pure bash with no external process calls. Things like cat are trivial to replace. I saw some uses of sort that might be more difficult, but it wouldn’t surprise me if newer Bash versions had a way to sort arrays nicely.
If you want to make things even more spicy, try doing in pure bash with no external process calls. Things like
cat
are trivial to replace. I saw some uses ofsort
that might be more difficult, but it wouldn’t surprise me if newer Bash versions had a way to sort arrays nicely.