Last active
July 4, 2017 09:15
-
-
Save kuwa72/7692622b5b1879ee2bc3cd4bb68ebf8c to your computer and use it in GitHub Desktop.
シェル芸勉強会 29回 Q2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat attend | php -B '$n=explode(",",chop(file_get_contents("attend6")));' -R '$l=explode(" ",$argn);echo "$l[0] $l[1] $l[2]",in_array($l[0], $n)?"出":"欠","\n";' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment