# HG changeset patch # User HackBot # Date 1467695036 0 # Node ID 6e805f2a05d325814e5bcecf7746337befedc2ed # Parent 3000f072eaa667af4ae511deabb21f121cc9f776 ` cat >src/pikhqbow.c <<<$\'#include \\n#include \\n#include \\n\'\'int main(){wint_t c;int a=0;setlocale(LC_ALL,"C.UTF-8");b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\\x03%d%lc%s",(int[]){4,8,9,11,12,13}[a],c,c==L\'\\\'\',\'\\\'\'?"\\x0f":"",c);if(++a==6)a=0;goto b;}\' diff -r 3000f072eaa6 -r 6e805f2a05d3 src/pikhqbow.c --- a/src/pikhqbow.c Tue Jul 05 05:02:42 2016 +0000 +++ b/src/pikhqbow.c Tue Jul 05 05:03:56 2016 +0000 @@ -1,4 +1,4 @@ #include #include #include -int main(){wint_t c;int a=0;setlocale(LC_ALL,"C.UTF-8");b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%d%lc%s",(int[]){4,8,9,11,12,13}[a],c,c==L','?"\x0f":"",c);if(a++==6)a=0;goto b;} +int main(){wint_t c;int a=0;setlocale(LC_ALL,"C.UTF-8");b:c=fgetwc(stdin);if(c==EOF) return 0;printf("\x03%d%lc%s",(int[]){4,8,9,11,12,13}[a],c,c==L','?"\x0f":"",c);if(++a==6)a=0;goto b;}