CHILIGHT(1)
π chilight(1) β the glow-up your C code deserves π
okay bestie, listen. this is a page from the LOCAL manual, section 1, and it's about a lil tool called chilight. no cap, it's the moment your boring plaintext C file becomes β¨aestheticβ¨. let's get into it π«Ά
πΈ NAME πΈ
chilight β highlight a C source file
like... it literally makes your C code pretty. that's the whole job. iconic behavior honestly π
β¨ SYNOPSIS β¨
chilight [-V] [-f format] [-o file] [-t title] [-w width] [file ...]
π¦ DESCRIPTION π¦
The chilight utility colorizes the input file, which is expected to be written in the C language, using text attributes or markups. she's not here to read your Rust, she's here to make your C sparkle π
The options are as follows:
-fformat β sets the output format to format. The format can be one of:ansi_color,ansi_bold,html_color,html_font,roffortty(andttyis the default, so if you don't say anything she just goes with the vibe). pick your fighter, bestie π-ofile β sets the output destination to file. like, where does the pretty go? you tell her π¬-ttitle β specifies the page title for the generated HTML page. yes, that's the lil thing in the browser tab π-Vβ prints version information on standard output, then exits. quick lil flex and she's out βοΈ-wwidth β sets the tab width for theroffstyle. Tabulator characters get converted to suitable amounts of space characters so the typographic quality onroffoutput is just... better, you know? πΈ Acceptable values are in the range1..16, which should be ample for most situations. don't get weird with it π«Ά
fr fr,-wonly does anything for theroffstyle. the other formats don't care. iykyk π
π AUTHORS π
- Sandro Sigala
<sandro@sigala.it>β original version π - Jukka A. Ukkonen
<jau@iki.fi>βroffandttyformats, better handling of#xxxpreprocessor directives and some minor changes π
π the sign-off π
this lil treasure came from Debian, and this version is dated July 15, 2001. that's the CHILIGHT(1) page, bestie β go make your C files look like main character energy π₯π
β¨
π¦ where this page comes from
- debian bookworm: cutils 1.6-6+b1 Β· BSD-2-Clause
- debian trixie: cutils 1.6-7 Β· BSD-2-Clause
- ubuntu jammy: cutils 1.6-5 Β· BSD-2-Clause
- ubuntu noble: cutils 1.6-6 Β· BSD-2-Clause
- ubuntu questing: cutils 1.6-7
- ubuntu resolute: cutils 1.6-7build1 Β· BSD-2-Clause
- ubuntu stonking: cutils 1.6-7build1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms