Self-contained implementations of common CLI-utils.