wordsort (148B)
- #!/bin/sh
- # Uses -z on sort(1), present in GNU, FreeBSD, OpenBSD, BusyBox ; absent in NetBSD
- tr ' ' '\000' | LC_ALL=C.UTF-8 sort -z | tr '\000' ' '
git clone https://hacktivis.me/git/utils.git
wordsort (148B)
- #!/bin/sh
- # Uses -z on sort(1), present in GNU, FreeBSD, OpenBSD, BusyBox ; absent in NetBSD
- tr ' ' '\000' | LC_ALL=C.UTF-8 sort -z | tr '\000' ' '