1. Oben Sonne
  2. poole-obs

Commits

Oben Sonne  committed 409668b

Colog post: fix commands

  • Participants
  • Parent commits 7f87084
  • Branches default

Comments (0)

Files changed (1)

File input/blog/20120510-colorized-log-output.md

View file
  • Ignore whitespace
 
 ### Watch log output from running programs
 
-    $ a-very-verbose-program 2>&1 | python colog.py
+    $ a-very-verbose-program 2>&1 | colog
 
 ### Watch a log file with `tail`
 
-    $ tail -f /path/to/some/logfile | python colog.py
+    $ tail -f /path/to/some/logfile | colog
 
 ### Read a log file colored in `less`
 
-    $ cat /path/to/some/logfile | python colog.py | less -FRS
+    $ cat /path/to/some/logfile | colog | less -FRS
 
 ## Need more?