Mercurial > repo
view izash.c @ 10991:2a49f15d9293
<wob_jonas> perl -e {$f="wisdom/rules of wisdom";open$i,"<",$f or die;local$/;$s=<$i>;$s=~s/with no space at the end/and end in a newline with no space before that/ or die;$s=~s/\\n\\z// or die;print$s;open$o,">",$f;print$o $s or die;}
author | HackBot |
---|---|
date | Fri, 02 Jun 2017 10:25:48 +0000 |
parents | d55cb6936714 |
children |
line wrap: on
line source
char s[99],*p[9],**q;main(){for(;q=p,*q++=strtok(gets(s)," ");fork()||execvp(*p,p),wait(0))for(;*q++=strtok(0," "););}