changeset 8718:c547ac15165a

<\oren\> ` sed -e \'s/>4);/>4);putchar(a);/\' -i orenbow.c
author HackBot
date Tue, 05 Jul 2016 04:01:13 +0000
parents c6950e84cb37
children 2853fdc740d7
files orenbow.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/orenbow.c	Tue Jul 05 04:00:26 2016 +0000
+++ b/orenbow.c	Tue Jul 05 04:01:13 2016 +0000
@@ -1,2 +1,2 @@
 #include <stdio.h>
-int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]),c=c+1-6*(c>4);goto b;}
+int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]),c=c+1-6*(c>4);putchar(a);goto b;}