X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/39da13d7b9031b578228f21c13b4fa1e3f9c8ef9..7cea1777bdbedbc08eeeab566ba186b7c195e160:/tools/mkimgthumb?ds=sidebyside diff --git a/tools/mkimgthumb b/tools/mkimgthumb index 3c38e7c..e2b974d 100755 --- a/tools/mkimgthumb +++ b/tools/mkimgthumb @@ -5,12 +5,13 @@ use warnings; my $failcount = 0; for my $src (@ARGV) { - my ($name, @cmds) = split /:/, $src =~ s/\.(\w+)\z//r; + my ($name, @cmds) = split /:(? or next; } + s/\\(.)/$1/g for @cmds; say $name; if (@cmds and $cmds[0] =~ /^\d/) {