2008-05-13 ディレクトリ内のヘッダファイルをすべてeuc&\r\n改行にする。 unix shell #!/bin/bash for file in *.h; do cat $file | nkf -e | perl -pe 's/\n/\r\n/' ${file%.*}r.h done