in reply to A small wrapper

You could also use a Perl one-liner, something like this (untested):

perl -e 'map {system "convert.pl $_"} glob $ARGV[0];' "*.a"

Replies are listed 'Best First'.
Re^2: A small wrapper
by Anonymous Monk on Oct 17, 2013 at 19:45 UTC
    Why not let the shell glob?
    perl -e 'system "convert.pl", $_ for (@ARGV)' *.a

      Right, this is also what I would usually do most of the time because I work mostly on various Unix systems, but I can't do that under VMS, under which I am also doing some of my work, and this also does not work under Windows. I was trying to give a more portable solution (although both under VWS and Windows, single quote would have to be changed into double quotes and vice-versa).