Skip to content

Instantly share code, notes, and snippets.

@kuwa72
Last active July 4, 2017 09:15
Show Gist options
  • Save kuwa72/7692622b5b1879ee2bc3cd4bb68ebf8c to your computer and use it in GitHub Desktop.
Save kuwa72/7692622b5b1879ee2bc3cd4bb68ebf8c to your computer and use it in GitHub Desktop.
シェル芸勉強会 29回 Q2
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