2008-11-20から1日間の記事一覧
CSVファイルの区切り文字がカンマ(普通)で 2列目の文字列と3列目が違う場合の1列目を表示 % perl -F',' -alne 'print $F[1] if $F[2] ne $F[3]' example.csvFはeより前でないとうまく動かない http://www.team-lab.com/aoki/blog/index.php?itemid=96 http:/…
CSVファイルの区切り文字がカンマ(普通)で 2列目の文字列と3列目が違う場合の1列目を表示 % perl -F',' -alne 'print $F[1] if $F[2] ne $F[3]' example.csvFはeより前でないとうまく動かない http://www.team-lab.com/aoki/blog/index.php?itemid=96 http:/…