OSDN Git Service

*** empty log message ***
authorShinji Kono <shinji_kono@users.sourceforge.jp>
Mon, 23 Oct 2006 17:56:07 +0000 (17:56 +0000)
committerShinji Kono <shinji_kono@users.sourceforge.jp>
Mon, 23 Oct 2006 17:56:07 +0000 (17:56 +0000)
test.pl

diff --git a/test.pl b/test.pl
index 6531ab3..4b34800 100644 (file)
--- a/test.pl
+++ b/test.pl
 # nkf PDS version passes Basic Conversion tests  using "nkf -iB -oB "
 #
 
-$nkf = 'MSWin32' eq $^O ? ".\\nkf" : "./nkf";
+if ($ARGV[0]) {
+    $nkf = $ARGV[0];
+} else {
+    $nkf = 'MSWin32' eq $^O ? ".\\nkf" : "./nkf";
+}
 # $nkf = "doscmd nkf.exe";
 
 # If you want to see the testing process, set next flag.