UTRAC(1)
π utrac(1) β the manual page bestie π
okay so you're reading the utrac man page and honestly? good for you. this is the Alliance MCA girlie and she's here to help. let's get into it β¨
πΈ NAME πΈ
utrac β recognize and convert charset and end-of-line of text files. yeah that's the whole vibe. character sets AND line endings. iconic behavior honestly π
β¨ SYNOPSIS β¨
utrac [OPTION] [FILE]
π¦ DESCRIPTION π¦
so Utrac is a tool (and also a library, she contains multitudes π«Ά) that recognize the charset and the end of line type used in a text file. and like. it can also convert it. slay.
but here's the tea bestie: in case of 8bits charsets, recognition is not sure. it's giving "idk maybe". so it can also assist the user to choose the correct charset β for instance by filtering the text and displaying only lines that matter. king behavior honestly π
π OPTIONS π
with no FILE, read standard input. with no OPTION, recognize and write converted text to standard output. no notes, perfect π
-p,--print-charsetβ print the name of the charset that suits best the input file. just the name. she's decisive.-P,--print-all-charsetβ print ranked list of charsets. okay so the columns, let me break it down for you:- first column = the mark with locale bonus (language and system)
- second = the mark brut
- third = the checksum of all extended character (to know which charsets produce the same results)
- fourth = the charset name β and it goes on the same line if their mark with bonus and their checksum are identical.
if the recognition is sure (ASCII or UTF-8), print only one name. periodt.
-f,--fromβ force input charset (disable recognition) and/or EOL. for instance,"UTF-8/CRLF". you're telling her what's up instead of letting her guess π«Ά-t,--toβ select output charset and/or EOL. see above. same energy.-L,--languageβ select language. all charsets that fit this language will get a bonus during recognition. if none specified,LC_*variables are used. she'll figure it out.-S,--systemβ select system. all charsets that fit this language will get a bonus during recognition. (yes it says language, that's literally what it says, I'm not editing the queen's words)-x,--ext-charsβ print lines with extended characters (try to print each extended character not more than once). lowkey thoughtful of her.-d,--distributionβ print distribution, i.e. the count of each 8bits character. data girlie π-a,--all-ext-charsβ print each extended character of the file in each different charset (UTF-8 output is recommended). obsessed.-c,--colorsβ (with-xor-a) use color. yes bestie, color π-b,--barβ display a progress bar. we love a visual.-i,--infoβ print default/chosen parameters. receipts β¨-l,--listβ list charsets/eol/languages/systems.-h,--helpβ print some help. she's got you π«Ά-v,--versionβ print version.
π FILES π
charset.datβ this file should be located in/usr/local/share/utrac/or/usr/share/utrac/. it contains informations about charsets and their related charmap. if you want to add new charsets (they must be 8bits and ASCII compatible, no exceptions), check the scriptmerge.plin Utrac source directory. go off, extend her π
π BUGS π
ngl Utrac is still a beta version, so you can expect to find some bugs... π please report them to <antoine@alliancemca.net>. and if you have a text file that is not well recognize by Utrac, please send it to improve the recognition algorithm. help her grow fr fr π«Ά
π AUTHOR π
written by Antoine Calando <antoine@alliancemca.net>. main character energy π
π COPYRIGHT π
Copyright Β© 2004 Alliance MCA.
this is free software; see the source for copying conditions. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. read that again bestie. no cap. π¨
π§ SEE ALSO π§
you can find more documentation from http://utrac.sourceforge.net β go read, iykyk β¨
and that's the whole page bestie!! π this was Utrac 0.3, dated January 2005, brought to you by Alliance MCA. vintage but still serving ππ¦π
π¦ where this page comes from
- fedora 43: utrac 0.3.0-42.fc43 Β· GPL-2.0-or-later
- fedora 44: utrac 0.3.0-43.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms