annotate izash.c @ 11116:3923d423f4cb

<oerjan> learn shebang_args_or_input is similar to print_args_or_input, but for other scripting languages like perl or python. E.g. if you have a python script that pipes stdin, replace the usual shebang line by #!/hackenv/bin/shebang_args_or_input python .
author HackBot
date Sat, 22 Jul 2017 00:51:22 +0000
parents d55cb6936714
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10907
d55cb6936714 <izabera> ` echo -n >izash.c \'char s[99],*p[9],**q;main(){for(;q=p,*q++=strtok(gets(s)," ");fork()||execvp(*p,p),wait(0))for(;*q++=strtok(0," "););}\'
HackBot
parents: 10905
diff changeset
1 char s[99],*p[9],**q;main(){for(;q=p,*q++=strtok(gets(s)," ");fork()||execvp(*p,p),wait(0))for(;*q++=strtok(0," "););}