Skip to content

Instantly share code, notes, and snippets.

@keimei
keimei / stripes
Created December 31, 2011 18:31
alternate background color
#!/usr/bin/gawk -f
#alternate background color like stripes.el(http://www.emacswiki.org/cgi-bin/wiki/stripes.el)
#usage: something command | stripes
BEGIN{
BG=44
#40 Black
#41 Red
#42 Green
#43 Yellow
#44 Blue