perl-Parse-ANSIColor-Tiny

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).

There is no official package available for openSUSE Leap 15.3

Distributions

openSUSE Tumbleweed

openSUSE Leap 15.3

openSUSE Leap 15.2

SUSE SLE-15-SP2

SUSE SLE-15-SP1

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.

SUSE:SLE-12:SLE-Module-Adv-Systems-Management

SUSE:SLE-15:GA

openSUSE:Leap:15.0

openSUSE:Leap:15.1