COLORFG(1p)
β¨ COLORFG π
okay so bestie, gather round, because we're talking about colorfg, a little Perl script from the User Contributed Perl Documentation corner of the manual (section 1p, iykyk). it's giving tiny-tool-huge-energy and I'm obsessed.
πΈ NAME πΈ
colorfg β color each line of input according to spec π
like... it takes your lines and it paints them. that's the whole gig. iconic.
π¦ USAGE π¦
colorfg color_index [FILE..]
π DESCRIPTION π
okay so here's the vibe: colorfg takes input from standard input and hands it right back to you, except now it's colored according to spec. glow-up, fr fr. β¨
and color_index? that's a number between 0-255, inclusive. no cap, that's the whole range. don't get cute with it.
π OPTIONS π
-h,--helpβ shows you the help, then dips. that's it, that's the option. π«Ά-m,--manβ shows you the documentation, then also dips. the full lore drop. π
π REPORTING BUGS π
found a bug? got a feature request? bestie, speak up, don't gatekeep:
- on rt.cpan.org
- on the repository issue tracker
- or slide directly into
m@japh.seπ
π AUTHOR π
Magnus Woldrich
CPAN ID: WOLDRICH
m@japh.se
http://japh.se
main character energy, honestly. π
π§ CONTRIBUTORS π§
None required yet.
(not a single one needed so far. the way that this tool just works π )
π COPYRIGHT π
Copyright 2018 THIS APPLICATIONs "AUTHOR" and "CONTRIBUTORS" as listed above.
π LICENSE π
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
translation: it's free, it's Perl-flavored, go be free with it. πΈ
β SEE ALSO β
Term::ExtendedColorβ the sibling, the companion, the other half of the friendship bracelet. go say hi. π«Ά
and that's the whole page, bestie!! this one's perl v5.36.0, dated 2022-10-14, and it lives its best life as COLORFG(1p). mwah. π periodt.
π¦ where this page comes from
- ubuntu noble: libterm-extendedcolor-perl 0.504-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libterm-extendedcolor-perl 0.504-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libterm-extendedcolor-perl 0.504-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms