http://qs321.pair.com?node_id=515366


in reply to Re: What one-liners do people actually use?
in thread What one-liners do people actually use?

You didn't need Perl for that:
for %q in (*.mas) do ren %q %~nq.html