Bash/C like gg status
This is quite silly application that I wrote for fun some time ago. It can be regarded as cryptic one. Just put following lines into ‘program.c’ file and you can enjoy running it as described below:
echo =1/*"beat that ;)" | tail -c13 #*/;main(){printf("beat that ;)\n");}
shell>gcc -o program program.c shell>./program beat that ;) shell>bash program.c beat that ;)
As you can see it runs from both: bash interpreter and C compiler
Enjoy!
March 22nd, 2013 in
main entries