grep golfing technique by chocobi

a[9];main(c){for(;~scanf("%[^\"]\"",a);)++c%2&&printf("grep \"%s%c"+(c-3?6:0),a,c-7?10:34);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page