2006-09-15から1日間の記事一覧

ファイルをシャッフル

a.txt の内容を行単位でシャッフルし、標準出力に書き出す。 $ perl -ne 'print rand(), ",$_"' a.txt | sort | cut -d "," -f 2-