]> git.corax.cc Git - toolbox/commit
include/array: Add functions for printing and sorting arrays
authorMatthias Kruk <m@m10k.eu>
Sun, 28 Mar 2021 01:38:52 +0000 (10:38 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 28 Mar 2021 01:38:52 +0000 (10:38 +0900)
commita7f1d5bf5fd1d8264788243dfe6b31a30ba74d63
treedc8240f2aa0f0ff7c12b0e5f1e2871650ffa35c4
parent65f86471e613babd74409b3ace75ec94fe04baae
include/array: Add functions for printing and sorting arrays

Printing and sorting arrays in-line tends to be rather awkward.
This commit adds the array_to_lines() and array_sort() functions
that take over this task.
include/array.sh