From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wH3tJKUS/1/hVwAA0tVLHw (envelope-from ) for ; Wed, 13 Jan 2021 15:32:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AMTAIKUS/19bKgAAbx9fmQ (envelope-from ) for ; Wed, 13 Jan 2021 15:32:53 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 22BD99404D9 for ; Wed, 13 Jan 2021 15:32:53 +0000 (UTC) Received: from localhost ([::1]:59200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzi8i-0006zp-2Y for larch@yhetil.org; Wed, 13 Jan 2021 10:32:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzhwI-00036k-Pe for guix-patches@gnu.org; Wed, 13 Jan 2021 10:20:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzhwI-0002jj-Fl for guix-patches@gnu.org; Wed, 13 Jan 2021 10:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzhwI-00009d-9T for guix-patches@gnu.org; Wed, 13 Jan 2021 10:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45614] [PATCH] gnu: Add ugrep. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Jan 2021 15:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45614 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Received: via spool by 45614-submit@debbugs.gnu.org id=B45614.1610551190560 (code B ref 45614); Wed, 13 Jan 2021 15:20:02 +0000 Received: (at 45614) by debbugs.gnu.org; 13 Jan 2021 15:19:50 +0000 Received: from localhost ([127.0.0.1]:36286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzhw6-00008v-B0 for submit@debbugs.gnu.org; Wed, 13 Jan 2021 10:19:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzhw5-00008i-E3 for 45614@debbugs.gnu.org; Wed, 13 Jan 2021 10:19:49 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57911) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzhvy-0002d4-Ad; Wed, 13 Jan 2021 10:19:42 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39502 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzhvx-00052Z-P9; Wed, 13 Jan 2021 10:19:42 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <48feb5af1c746731bd9623b01977fb6e6c9724b5.1609848284.git.h.goebel@crazy-compilers.com> Date: Wed, 13 Jan 2021 16:19:40 +0100 In-Reply-To: <48feb5af1c746731bd9623b01977fb6e6c9724b5.1609848284.git.h.goebel@crazy-compilers.com> (Hartmut Goebel's message of "Tue, 5 Jan 2021 13:05:37 +0100") Message-ID: <87blds984z.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45614@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.86 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 22BD99404D9 X-Spam-Score: -2.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: lQd4OvdbWIww Hi! Hartmut Goebel skribis: > * gnu/packages/search.scm (ugrep): New Variable. [...] > + '(begin > + (delete-file-recursively "bin") ;; pre-build executab= les > + ;; TODO: If there is a script for rebuilding them, rem= ove > + ;; archives, pdf and .class in tests/ Java .class files (is that it?) should definitely be removed. > + (description "Universal grep: ultra fast searcher of file systems, t= ext > +and binary files, source code, archives, compressed files, documents, and > +more. > + > +The main features include: > + > +@itemize > +@item Written in clean and efficient C++11, built for speed > +@item Ultra fast with new match algorithms beating grep, ripgrep, silver > + searcher, hyperscan, etc. > +@item Multi-threaded search using high-performance lock-free job queue s= tealing > +@item Multi-threaded task-parallel decompression and search > +@item Optimized pattern matching (AVX, SSE2, ARM NEON/AArch64) > +@item Optimized asynchronous IO for efficient concurrent searching > +@item Thoroughly tested (includes over 1000 test cases) > +@item Compatible with the standard GNU/BSD grep command-line options > +@item Comprehensive how-to tutorial for beginners to advanced users > +@item Interactive query UI to enter search patterns > +@item Select files to search by file types, filename suffix, and \"magic= bytes\" > +@item Search archives (cpio, jar, tar, pax, zip) > +@item Search compressed files (zip, gz, Z, bz, bz2, lzma, xz) > +@item Search pdf, doc, docx, xls, xlxs, and more using filters > +@item Search binary files and display hexdumps with binary pattern match= es > +@item Search UTF-encoded files with Unicode pattern matches (by default) > +@item Search files encoded in ISO-8859-1 thru 16, CP 437, CP 850, MAC, K= OI8, etc. > +@item Search files excluding files specified by .gitignore etc. > +@item Search patterns across newlines, matching multiple lines at once > +@item Search patterns excluding negative patterns (\"match this but not = that\") > +@item Includes predefined regex patterns to search source code, XML, JSO= N, HTML > +@item Output results in CSV, JSON, XML, and user-specified formats > +@item Sort matching files by name, size, and time > +@end itemize") That=E2=80=99s too much detail, and it=E2=80=99s also bound to become stale= as ugrep changes. Could you (1) start with a full sentence, and (2) give a high-level view of the features in 5=E2=80=9310 lines at most? Thanks, Ludo=E2=80=99.