Mac Command Line Utilities (CLUtils)
by Ron Charlton
Release 1.5 (2022-06-05) All commands are standalone
universal2 executables and will run on both Intel Macs (amd64) and Apple
silicon Macs (arm64) with macOS 10.15 and later.
The utilities were built with the Go programming language. They will be
installed in /usr/local/bin.
CHANGES
- Release 1.5 - fixed crs to better report line
ending occurrences.
- Release 1.4 - added jumblist to unscramble jumbled
letters into a word.
COMMAND DESCRIPTIONS
- cnl (Convert NewLines) provides universal conversion of
line endings in text files or standard input.
- crs (Carriage Return Status) reports CRs, LFs, CRLFs
and LFCRs in file(s).
- eq shows equivalent values in several bases and
ASCII.
- jumblist unscrambles jumbled letters to make a word.
- locc counts lines of C, C++ or Go source code in
file(s) or standard input. locc ignores comment-only lines and blank
lines to give an accurate count of source code lines.
- PhoneWords finds words to replace the digits in a phone
number with the letters on a phone's keypad.
- remcomments removes comments from C, C++ and Go
source code.
- retab changes tab character widths in a text
file(s) without changing its appearance.
- sha3sum displays SHA-3 message digest(s) for
file(s) or standard input.
- shake256 provides a 512-bit SHAKE256 hash for
file(s) or standard input.
- shuffleBytes shuffles the order of bytes in a
file to a new file or in-place.
COMMAND USE
Use command -h
to get detailed help for command
,
e.g., cnl -h
.
UNINSTALL
Type CLUtilsUninstall
in a terminal window to remove all
CLUtils from your computer.
LICENSES
eq, shake256, crs, sha3sum, cnl, retab, PhoneWords, jumblist and
shuffleBytes code by Ron Charlton is public domain,
and may be freely distributed. Public domain is per
CC0 1.0; see https://creativecommons.org/publicdomain/zero/1.0/ for information.
locc, remcomments: Copyright © Ron Charlton 2019, Michael Burr 2012;
may be freely distributed, see the license at
https://creativecommons.org/licenses/by-sa/4.0/.
crs, jumblist and locc call go-locale software that
is Copyright © 2020 Alexis Jeandeau under the
MIT license.
UPDATES
https://RonCharlton.org/
CONTACT
E-mail: Ron Charlton <Ron @ RonCharlton.org>
E-mail: Ron Charlton <charltoncr @ wowway.com>
Page Last Modified: 2022-06-23