I'm trying to redirect the output of ack-grep to a file using the following command:
ack-grep "some_regex" > file
This command leads to an infinite loop (I guess), and the file
keeps growing until the system runs out of disk space.
Here's the output of ack-grep --version
:
ack-grep 2.12
Running under Perl 5.18.2 at /usr/bin/perl
Is there an alternative to using redirection?