https://github.com/mre/colorize
Pretty print the output of logfiles (and any other text file)
https://github.com/mre/colorize
commadline logging output pretty-print shell
Last synced: 12 months ago
JSON representation
Pretty print the output of logfiles (and any other text file)
- Host: GitHub
- URL: https://github.com/mre/colorize
- Owner: mre
- Created: 2014-08-28T22:58:48.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-29T08:32:39.000Z (almost 12 years ago)
- Last Synced: 2025-03-31T08:29:07.011Z (about 1 year ago)
- Topics: commadline, logging, output, pretty-print, shell
- Language: Shell
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.