Skip to content

Clean up text in a file by removing ill-formed and non-printing characters and by normalizing composite Unicode characters to their NFC forms for easy processing with LaTeX etc.

Notifications You must be signed in to change notification settings

marekkowalczyk/fileclean

Repository files navigation

fileclean

Clean up text in a file by removing ill-formed and non-printing characters and by normalizing composite Unicode characters to their NFC forms for easy processing with LaTeX etc.

Basic usage: fileclean /path/to/file.txt emits output to STDOUT.

Throws error if no files are give or if more than one file is given. Does not accept STDIN input or text as argument (yet).

In order to modify a file in place, use: fileclean file.txt | sponge file.txt

To see what sponge does, go to https://manned.org/sponge.

About

Clean up text in a file by removing ill-formed and non-printing characters and by normalizing composite Unicode characters to their NFC forms for easy processing with LaTeX etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages