Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2013-11-24

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:37 sivoais oalders: thanks for the podwebview link, I'll check it out.
02:25 klapperl joined #metacpan
02:59 SineSwiper joined #metacpan
04:05 preflex_ joined #metacpan
09:52 klapperl_ joined #metacpan
10:17 b_jonas I should clean up my perl scripts and release them on cpan with App:: namespace modules
10:17 b_jonas like, cgrep as App::Text::Cgrep, wgetas as App::Net::Wgetas etc
10:43 celogeek joined #metacpan
10:46 kentnl_ joined #metacpan
10:49 celogeek joined #metacpan
11:26 Farow joined #metacpan
16:26 klapperl joined #metacpan
17:31 klapperl_ joined #metacpan
17:38 avar joined #metacpan
17:40 Farow joined #metacpan
18:37 Farow|2 joined #metacpan
18:38 klapperl joined #metacpan
19:13 Mike-PerlRecruiter_ joined #metacpan
21:16 Farow|2 joined #metacpan
22:01 trs b_jonas: what's cgrep and wgetas?
22:01 b_jonas trs: cgrep is a grep clone, which I use but really needs some fixups, http://www.math.bme.hu/~ambrus/pu/cgrep
22:02 b_jonas wgetas is a utility to download files from http using a list that gives both the url and the save filename for each file separately
22:02 b_jonas wgetas: http://www.perlmonks.com/?node_id=932889
22:02 dipsy [ wgetas - download many small files by HTTP, saving to filename of your choice ]
22:04 trs b_jonas: re cgrep, have you tried ag or ack?
22:05 b_jonas trs: I've looked at the features of ack,
22:05 b_jonas and I don't really like it, though there are some features it has that cgrep doesn't
22:05 b_jonas I don't know about ag
22:05 b_jonas what's ag?
22:06 trs in a nutshell, "faster ack"
22:06 trs https://github.com/ggreer/the_silver_searcher
22:06 dipsy [ ggreer/the_silver_searcher · GitHub ]
22:06 b_jonas heh
22:06 trs I'm curious what in the features list of ack made it unlikeable?
22:07 b_jonas I have two more apps that I might also want to package and upload to cpan,
22:07 b_jonas trs: the built-in magical behaviour where it automatically skips "binary files"
22:08 b_jonas and I can't tell how it decides that so it might just skip files I would have wanted it to search
22:08 b_jonas I mean skipping CVS, .svn, .git is ok,
22:08 b_jonas but "binary files"? seriously
22:08 trs you can pass the --search-binary flag, or add it to your .ackrc
22:08 trs similar option exists for ag
22:08 b_jonas a way to skip .svn and similar is one of the features I want to add to cgrep
22:08 trs also, you can read the code to see what the heuristic is, but grepping png files isn't often useful :)
22:10 trs I suspect that you can make ack/ag do exactly what you want by setting your own set of default options in an alias or rc file.
22:10 b_jonas might be
22:10 b_jonas but I think I can also fix up cgrep to do exactly what I want
22:11 b_jonas funnily I don't use the one feature why I originally wrote cgrep
22:12 b_jonas and even in this imperfect state I am using cgrep sometimes
22:15 b_jonas then there's this grep clone too: http://www.perlmonks.com/?node_id=573020
22:15 dipsy [ diotalevi's grep ]
22:16 b_jonas I have a moderately long todo for cgrep which is not public anywhere
22:18 b_jonas trs: is there even a --search-binary option? I can't see that in the manpage
22:21 trs b_jonas: sorry, ag has a --search-binary option. ack 2.0's philosophy changed and removed the --binary flag.
22:21 trs ag is much faster and nicer anyway, imo
22:21 b_jonas link to ag?
22:21 trs linked above, but also: https://github.com/ggreer/the_silver_searcher
22:21 dipsy [ ggreer/the_silver_searcher · GitHub ]
22:22 b_jonas ah right
22:22 b_jonas another metal thingy after mercurial
22:22 trs or quicksilver on the mac
22:25 trs I use these options to ag by default: --all-types --follow --smart-case --color-match='1;31' --color-line-number='0;34' --pager=less
22:26 trs (plus --no-file-errors, but that's my own extension not yet merged to trunk (if ever))
22:39 ether joined #metacpan

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary