Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: grep for windows

by clueless newbie (Deacon)
on Oct 15, 2016 at 00:53 UTC ( #1174042=note: print w/replies, xml ) Need Help??


in reply to grep for windows

Since you were looking for something equivalent to grep, perhaps you'd be interested in ack.

Replies are listed 'Best First'.
Re^2: grep for windows
by Anonymous Monk on Oct 15, 2016 at 06:34 UTC

    Few weeks ago I could not install ack 2, for the same purpose as OP, due to problem with Find::Next. Other details are there.

      Few weeks ago I could not install ack 2, for the same purpose as OP, due to problem with Find::Next. Other details are there.

      When a test fails because it couldn't create a temp file in a non existent temp directory ... force install it

        Hmm ... ok.

        For File::Temp v0.2304, all tests pass. (It's possible I might have encountered the problem if I had tried to build perl myself.) In t/from_file.t, of F::Next, use of F::Temp seems simple enough ...

        FROM_OK_FILE_BUT_MISSING: { my $warn_called; local $SIG{__WARN__} = sub { $warn_called = 1 }; my $tempfile = File::Temp->new; File::Copy::copy('t/filelist.txt', $tempfile); print {$tempfile} "t/non-existent-file.txt\n"; $tempfile->close; ... }

        ... nothing odd is there about File::Temp->new().

        Oh, odd thing is of course use of MS Windows. I suppose. :-| (I wonder if newer versions for F::{Next,Temp} would make any difference.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1174042]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2019-12-15 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?