view src/orenbow.c @ 9458:c332628b8660

<oerjan> le/rn hoag/`[hd]o[aw][gt] [<filename>] is a set of commands for querying HackEgo logs. `hoag is the basic version. d adds dates, w looks only in wisdom, and t lists in reverse.
author HackBot
date Thu, 27 Oct 2016 00:25:27 +0000
parents fc9a99a826d3
children
line wrap: on
line source

#include <stdio.h>
int main(){printf("\e[1m");int a,c=0;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%dm","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;}