Created
March 29, 2016 08:33
-
-
Save shouhei/2a9dcb2ea4dd391b5986 to your computer and use it in GitHub Desktop.
phpでcsvを見るやーつ
This file contains hidden or 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
#!/bin/bash | |
php -r '$file=new SplFileObject("./hoge.csv");while(!$file->eof()){var_dump($file->fgetcsv());}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment