From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3867 invoked from network); 13 Aug 2021 05:38:55 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 13 Aug 2021 05:38:55 -0000 Received: from vultr.musolino.id.au ([45.76.123.158]) by 1ess; Thu Aug 12 22:44:04 -0400 2021 Received: from 180.150.114.112 ([180.150.114.112]) by vultr; Fri Aug 13 12:43:45 +1000 2021 Message-ID: <9537C8A9A3C1A643998908E9CDDF9FE4@musolino.id.au> To: 9front@9front.org From: Alex Musolino Date: Fri, 13 Aug 2021 12:13:44 +0930 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: structured non-blocking dependency DOM control Subject: Re: [9front] g Reply-To: 9front@9front.org Precedence: bulk > I was about to solve this on my system with > > nfile -m $files | awk -F\t '$2 ~ /^text|application.x-sh/ { print $1 }' > > where nfile is a file(1) that actually uses a frog to separate, You don't need to create a new program. Just specify the awk field separator regex correctly, i.e. -F ': *'.