Skip to content
/ colorize Public

Pretty print the output of logfiles (and any other text file)

Notifications You must be signed in to change notification settings

mre/colorize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Colorize

What?

Pretty print log files.

How?

input.txt

2014-08-28 09:58:36,890 404 http://www.example.com 127.0.0.1 Cannot say how awesome this is. 2014-08-28 09:59:36,890 404 http://www.example.com/login.html 127.0.0.1 Wait... 2014-08-28 10:00:36,890 404 http://www.example.com/secure.html 127.0.0.1 Actually I can

command

cat input.txt | colorize.sh 0,2

output

2014-08-28 09:58:36,890 404 http://www.example.com 127.0.0.1 Cannot say how awesome this is. 2014-08-28 09:59:36,890 404 http://www.example.com/login.html 127.0.0.1 Wait... 2014-08-28 10:00:36,890 404 http://www.example.com/secure.html 127.0.0.1 Actually I can

Donate

If you like this script you can donate to... nah I'm just kiddin.

About

Pretty print the output of logfiles (and any other text file)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages