+
Skip to content

hiecaq/corrupt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

corrupt

In short: this tool colors strings input from stdin and outputs them to stdout.

Color theme is defined with RON, and what to color is defined based on regexps. Both of which are user-defined input (currently only with cli arguments, config-file-based support is planned).

Try this:

ping 192.168.1.1 | corrupt 'bytes?|time' '[0-9]{1,3}(\.[0-9]{1,3}){3,3}' -s '[Fg(Red), Bg(Blue)]' '[Fg(Blue), Attr(Underlined)]'

About

Color stdOut with Regex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载