develooper Front page | perl.perl5.porters | Postings from August 2013

[perl #113054] find2perl mistranslates fileglob ? to regex .?

Thread Previous
From:
Tony Cook via RT
Date:
August 14, 2013 03:34
Subject:
[perl #113054] find2perl mistranslates fileglob ? to regex .?
Message ID:
rt-3.6.HEAD-2552-1376451231-1596.113054-15-0@perl.org
On Wed May 23 17:47:08 2012, jkeenan wrote:
> Reviewing this RT, I had occasion to ack blead for 'find2perl'.  I
> noticed that there do not appear to be any test files devoted to this
> program.
> 
> Is that correct?  If so, would we be able to write tests for 'find2perl'
> -- including a test that would demonstrate the fix in this patch -- in a
> way that could accommodate many different shells?

I've added (currently in smoke-me/tonyc/find2perl) some basic tests for
find2perl, including a test and the fix for the problem in this ticket.

Currently it compares the results against find(1) and restricts the
platforms where testing is done to platforms with a vaguely sane find(1)
(eg. not Win32)

If it smokes ok I'll push it to blead.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=113054

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About