UNIX filter which returns success if text data is valid utf-8, or failure otherwise. Handy for shell scripts or as `-exec` primary for `find`.
Updated 2025-01-08 13:13:54 +01:00
Return a random line from a text file. Elegant algorithm which never remembers more than one line at a time.
Updated 2025-01-08 12:59:30 +01:00