CPTINFO(1)
π cptinfo β like, the manual page, bestie π
okay so welcome to cptinfo(1) from the User commands section, and honestly? it's giving "small tool, big helpfulness". let's get into it π
β¨ NAME β¨
cptinfo β prints summary information on GMT colour palette table (cpt) files. no cap, that's literally the whole job and it does it gorgeously π
π¦ SYNOPSIS π¦
cptinfo [-c] [-h] [-o path] [-p] [-v] [-V] [path]
like yes, that's a lot of little flags but they're all iconic in their own way, we'll get to each one π«Ά
πΈ DESCRIPTION πΈ
so the cptinfo utility prints summary information on the colour palette table (cpt) file which is its input. that's it, that's the vibe β you hand it a cpt file and it tells you what's inside, main character energy only π
and here's the cute part: the program will read from stdin if a file is not specified as the final argument, and write to stdout if the --output option is not specified. so if you're feeling lazy (same) you can just pipe stuff in and let it spill out into your terminal. flexible. obsessed. π
π OPTIONS π
-c,--csvβ outputs in a comma separated value format, suitable for easy parsing by other programs. machine-readable, lowkey the moment your scripts needed π-h,--helpβ brief help. short and sweet, a little snack of information π-o,--output pathβ writes the output to path, rather thanstdout. redirect your fave info to a file, no biggie β¨-p,--plainβ outputs in a plain human-readable format. just you and the words, bestie π-v,--verboseβ verbose operation. it will yap (affectionate) π£οΈ-V,--versionβ version information. for when you simply must know which era of this tool you're living in π
heads up bestie: the synopsis shows[path]as the optional final argument, so if you don't give one, remember β it reads fromstdinπ
π AUTHOR π
J.J. Green β the legend themselves. we love and respect π«Ά
and that's the whole page, bestie! this one's from cptutils 1.82, dated 9 July 2024 β so go forth, feed cptinfo a cpt file, and slay πβ¨ππ¦πΈ
π¦ where this page comes from
- fedora 43: cptutils 1.82-4.fc43 Β· GPL-2.0-or-later
- fedora 44: cptutils 1.82-6.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