my $infile = "$base.$iext";
$infile =~ s/"/\\"/g;
$cmd =~ s!\$\<!"$infile"!g;
+ $cmd =~ s!\$\*!"$base"!g;
my $outfile;
if ($opts{o}) {
if ($dirout) {
s/\s+$//;
next if /^$/;
- if (/^([\w.]+)\s*=>\s*([\w.]+)\s*:\s*(.*)$/) {
+ if (/^([\w.-]+)\s*=>\s*([\w.-]+)\s*:\s*(.*)$/) {
$rules{$2}{$1} = $3;
} elsif (/^($var_re)\s*=\s*(.*)$/) {
$vars{$1} = expand($2);