ref: e30bac13912ad2f9923542d9e72c327347005365
dir: /bin/cin/
#!/bin/rc rfork e nl=' ' while(line=`$nl{read}){ cmd=$line if(~ $#cmd 0) cmd='\r' switch($cmd){ case '\r' ci /env/code case '\t' time ci /env/code case '\prof' ci -p /env/code case '\p' cat /env/code case '\c' >/env/code case * echo $line >>/env/code } }