From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 79E942676F for ; Wed, 26 Jun 2024 13:19:52 +0200 (CEST) Received: from mail-4022.proton.ch ([185.70.40.22]) by 9front; Wed Jun 26 07:18:45 -0400 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shurizzle.dev; s=protonmail2; t=1719400722; x=1719659922; bh=OmIL9SJBi5G+0HKvrXFwz4D/213cmXPFGlGAQyci6+o=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=MpaDcyDIITUePozuQPeHIy5g7P4wMI74KLcO8CVJNff9mjuYog61frEmDH233xzIr 1g6bOApBgi8WSOml/QxFSEpMy8bbm3y9qq2Ucsu4GFEhMvprmrrbzT56WzZdi4FnjB VeX/eVIyEyvx2I6tihlF5QLHRyXkaXgVgVBZxNVHPiEu4gniqRE84QgG++HcSr3N7e tmvLzXefH+/UGuoiyDJJP08E48pUMmFne4q7YiGdxGFfqV+RJHcz376WWHu1RirXtl Fu5B3DJ9N2rJtNeWXN1+xJCUVwLsYXie/HekHhXcmC9ZRRXCFGD8KHVZx4OAqW2Yhg 1Qhuyju4uVGUg== Date: Wed, 26 Jun 2024 11:18:37 +0000 To: 9front@9front.org From: me@shurizzle.dev Message-ID: In-Reply-To: <7A35DAAE2FF03AD0EA15B02CC5EC9366@musolino.id.au> References: <7A35DAAE2FF03AD0EA15B02CC5EC9366@musolino.id.au> Feedback-ID: 93734745:user:proton X-Pm-Message-ID: f8c134c8627d2045c3aa5544808d48af82fb1280 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: social ISO-certified storage realtime engine map/reduce solution Subject: Re: [9front] [PATCH] feat(grep): add -H flag Reply-To: 9front@9front.org Precedence: bulk On 24/06/26 02:26PM, Alex Musolino wrote: > > -H is the opposite of -h. > > When present, print the file name even if only one file is > > passed in the parameters. > > Seems unnecessary. You can already get this behaviour by passing > /dev/null as an extra file argument. > > -- > Cheers, > Alex Musolino > That's exactly what I do now, but a flag gives me more confidence than a ha= ck. Additionally, if combined with xargs, it can split the arguments leaving th= e last one alone, and in `g` I have no way to pass an extra argument, but I c= an pass a flag (`g -Hn w/e`). I hope I made myself clear.