2 ###APPNAME: htmlconv_foldername
4 ###APPDATE: 2009-04-17 01:08:39
6 ###APPDESC: htmlconv_foldername
8 ###APPEXAMPLE: htmlconv_foldername
12 #ENV variable MUST be defined somewhere,
13 #FOR perl to search modules from,
15 use lib
$ENV{XR_PERL_MODULE_DIR
};
17 use MyPlace
::Script
::Usage qw
/help_required help_even_empty/;
18 exit 0 if(help_required
($0,@ARGV));
19 #exit 0 if(help_even_empty($0,@ARGV));
25 last unless($from and $to);
26 $exp = $exp . 's#' . $from . '[\\\/]#' . $to . '\/#g;';
28 die("Nothing to do!\n") unless($exp);
35 my @cmd = ("sed","-i","-e",$exp,@files);