Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Parse-ANSIColor-Tiny | Distribution: openSUSE:Factory:zSystems |
Version: 0.700 | Vendor: openSUSE |
Release: 1.8 | Build date: Sun Oct 23 05:11:40 2022 |
Group: Unspecified | Build host: reproducible |
Size: 40203 | Source RPM: perl-Parse-ANSIColor-Tiny-0.700-1.8.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/Parse-ANSIColor-Tiny | |
Summary: Determine attributes of ANSI-Colored string |
Parse a string colored with ANSI escape sequences into a structure suitable for reformatting (into HTML, for example). The output of terminal commands can be marked up with colors and formatting that in some instances you'd like to preserve. This module is essentially the inverse of Term::ANSIColor. The array refs returned from parse can be passed back in to 'Term::ANSIColor::colored'. The strings may not match exactly due to different ways the attributes can be specified, but the end result should be colored the same. This is a '::Tiny' module... it attempts to be correct for most cases with a small amount of code. It may not be 100% correct, especially in complex cases. It only handles the 'm' escape sequence ('\033[0m') which produces colors and simple attributes (bold, underline) (like what can be produced with Term::ANSIColor). Other escape sequences are removed by default but you can disable this by passing 'remove_escapes => 0' to the constructor. If you do find bugs please submit tickets (with patches, if possible).
Artistic-1.0 OR GPL-1.0-or-later
* Sun Oct 23 2022 Tina Müller <timueller+perl@suse.de> - updated to 0.700 see /usr/share/doc/packages/perl-Parse-ANSIColor-Tiny/Changes 0.700 2022-10-22T17:50:58Z - Fix reset_foreground/reset_background to work with the 256 set of colors. * Thu Sep 07 2017 coolo@suse.com - updated to 0.601 see /usr/share/doc/packages/perl-Parse-ANSIColor-Tiny/Changes 0.601 2017-09-06T14:43:42Z - Update meta files. No code changes. * Thu May 05 2016 coolo@suse.com - updated to 0.600 see /usr/share/doc/packages/perl-Parse-ANSIColor-Tiny/Changes 0.600 2016-04-25T04:38:24Z - Add support for 256 colors. Thanks to Dmitry Fedin for the pull request! (gh-1) * Tue Apr 14 2015 coolo@suse.com - updated to 0.501 see /usr/share/doc/packages/perl-Parse-ANSIColor-Tiny/Changes 0.501 2014-03-16T01:28:17Z - Improve parsing (removal) of non-color escapes. - More tests. 0.500 2014-03-16T00:23:43Z [Backward Incompatible Changes] - By default escape sequences not relating to colors are removed. This can be disabled with a constructor argument. - Process 39/49 as foreground/background reset. * Wed Apr 18 2012 pascal.bleser@opensuse.org - initial version (0.400)
/usr/lib/perl5/vendor_perl/5.40.0/Parse /usr/lib/perl5/vendor_perl/5.40.0/Parse/ANSIColor /usr/lib/perl5/vendor_perl/5.40.0/Parse/ANSIColor/Tiny.pm /usr/share/doc/packages/perl-Parse-ANSIColor-Tiny /usr/share/doc/packages/perl-Parse-ANSIColor-Tiny/Changes /usr/share/doc/packages/perl-Parse-ANSIColor-Tiny/README /usr/share/licenses/perl-Parse-ANSIColor-Tiny /usr/share/licenses/perl-Parse-ANSIColor-Tiny/LICENSE /usr/share/man/man3/Parse::ANSIColor::Tiny.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 29 02:17:16 2025