CLUtils is a collection of command-line utilities for macOS. They will run on Intel and Apple Silicon Macs natively. They are useful to users who use the Terminal app to run commands.
Command List
- 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.