New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File::Glob issue #14967
Comments
From @khwilliamsonThese 2 lines: my @b = glob(qq{$path/mp_[0123456789]*.dat from https://rt-archive.perl.org/perl5/Ticket/Display.html?id=114984 (and now in I am not conversant in all the nuances of what bsd vs csh vs other I'm not sure what to do. The .t can be made to pass on |
From j.imrie1@virginmedia.comOn 05/10/2015 19:01, karl williamson (via RT) wrote:
What happens if you try this my @b = glob(qq{$path/mp_[0123456789]*.dat\ with -DPERL_EXTERNAL_GLOB John |
The RT System itself - Status changed from 'new' to 'open' |
From @epakarl williamson <perlbug-followup <at> perl.org> writes:
That sounds like a bug in the PERL_EXTERNAL_GLOB case. Having your glob
Well... not in that way IMHO. It should provide the same kind of glob -- |
From @khwilliamsonOn 10/05/2015 12:58 PM, John Imrie wrote:
sh: 2: /var/tmp/Alv2wNyeph/md_1.dat: Permission denied However, this works @b = glob(qq{$path/mp_[0123456789]*.dat \\ Both the space and extra backslash are required |
From @khwilliamsonOn 10/05/2015 01:59 PM, Ed Avis wrote:
I have pushed a fix to the .t file that was failing; I simply joined the It turns out that porting/maintainers.t also fails with It is my supposition that the core converting to use File::Glob was for |
From zefram@fysh.orgKarl Williamson wrote:
That would mean that it would acquire the newline misbehaviour, A problem with this is that the globbing mechanism might be intentionally -zefram |
From @epaOut of interest why does glob-via-shell still exist? It would seem that -- |
From zefram@fysh.orgEd Avis wrote:
Historical. I think it was meant to be the lazy way to get globbing, I think it would be a good idea to move to always performing the -zefram |
From @ap* Karl Williamson <public@khwilliamson.com> [2015-10-06 18:05]:
You brought this up multiple times. I don’t understand the logic behind I’m at a loss. It doesn’t seem plausible that you thought this through (I consider this a security hole in PERL_EXTERNAL_GLOB, though the low Regards, |
From @khwilliamsonOn 10/13/2015 03:13 AM, Aristotle Pagaltzis wrote:
Huh!? Unless I'm losing my mind, this thread is the only time I've ever I don’t understand the logic behind
And I in turn am at a loss to understand where you're coming from. My More complete context of what I said that you quoted above is this "It is my supposition that the core converting to use File::Glob was for So of course I haven't thought this through. I said I was asking for I do not believe I'm advocating for anything here; I admittedly have too |
From @ap* Karl Williamson <public@khwilliamson.com> [2015-10-13 19:25]:
Sorry. I thought I had seen you propose this twice on this thread. You But you are right: on second look, none of that took place. My bad.
Well you didn’t state your premise for doing what you weren’t actually Anyway, on the subject itself, as I said, the fact that it’s possible to
Yes; sorry about that. Regards, |
From @craigberryOn Tue, Oct 6, 2015 at 11:01 AM, Karl Williamson
I have some memory of being told it was about "eating our own dog Commit 52bb067 doesn't say much except in its perldelta
Do all shells have the same metacharacters? What if the CLI from |
From @pjcjOn Tue, Oct 06, 2015 at 09:53:45PM +0100, Zefram wrote:
A long time ago (probably last millennium) someone (probably Chip) Not sure how feasible that is, but I do wish it were possible every time my @files = split " ", `zsh -c 'echo **/*.pm'`; -- |
From @epaCraig A. Berry <craig.a.berry <at> gmail.com> writes:
It doesn't matter where perl was run from or what the user's preferred shell But anyway, I think everyone is now in agreement that doing something wacky -- |
Migrated from rt.perl.org#126271 (status was 'open')
Searchable as RT126271$
The text was updated successfully, but these errors were encountered: