From b2ed8d9d735fec5854b125ac9ea84ac67952d7e9 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Sat, 24 Nov 2018 23:48:28 +0100 Subject: [PATCH] G: Added --lb to get first input faster. --- G/G | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/G/G b/G/G index 69a1671..6482fdf 100755 --- a/G/G +++ b/G/G @@ -98,7 +98,7 @@ for(@ARGV) { if($opt::g and @cmd) { my $a = shift @cmd; - my $run = 'find . -type f | parallel -kXq grep -l '.shell_quote(@$a); + my $run = 'find . -type f | parallel --lb -Xq grep -l '.shell_quote(@$a); if(@cmd) { $run .= '|' . join"|", map { 'xargs -d"\n" grep -l '.