https://github.com/xmas7/colorize
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
https://github.com/xmas7/colorize
Last synced: about 2 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/xmas7/colorize
- Owner: xmas7
- Created: 2022-09-02T03:28:56.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-02T03:29:14.000Z (over 2 years ago)
- Last Synced: 2025-02-01T09:28:03.563Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- 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.