XMP conf

UTFで記述。nkf -s でSJISへ。実行可能。
例えばeucで記述したファイルであれば、src/eucへ移動しておく。
nkf -wでUTF8へ。
perl
#!/usr/bin/perl
use strict;
use File::Basename;
my @files=`ls euc/*.f90`; chomp @files;

#my @files;
foreach my $tfile(@files){
my $in_file=basename($tfile);
print $in_file,"\n";
system("nkf -w $tfile > $in_file");
}

arareにはc:\nkfにインストール。
mingw上では"c:\nkf\nkf.exe"で実行可能。@11/12'15
cygwin上では /cygdrive/c/nkf/nkf.exe で実行可能:@3/12'16
スクリプトに書き込むC:\home\koshida\jobs\2016\xmp\data\amedas