diff --git a/gdb_colout.png b/gdb_colout.png new file mode 100644 index 0000000..30b7d80 Binary files /dev/null and b/gdb_colout.png differ diff --git a/index.md b/index.md index 84f5c1a..e25a661 100644 --- a/index.md +++ b/index.md @@ -95,11 +95,22 @@ following shortcut: ![](cmake_theme_paradiseo.png) +You can colorize almost any text stream to make it more readable, see this comparison of the output of Valgrind: + +![](valgrind_colout.png) + You can, of course, combine several calls to colout using pipes: `make 2>&1 | colout -t cmake | colout -t g++` ![](themes_cmake_g++_paradiseo.png) +As colout is a KISS tool, you can even use it in hacks involving the shell, +like colorizing the output of GDB commands: + +![](gdb_colout.png) + +Try the `example.gdbinit` shipped with colout (copy/link it as `~/.gdbinit`). + ## Tips diff --git a/valgrind_colout.png b/valgrind_colout.png new file mode 100644 index 0000000..6f9fb1b Binary files /dev/null and b/valgrind_colout.png differ