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 12368 invoked from network); 12 Aug 2023 19:45:47 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 12 Aug 2023 19:45:47 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Sat Aug 12 15:40:24 -0400 2023 Received: from stockyard (ool-ae2cb074.dyn.optonline.net [174.44.176.116]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id a7e4a1b3 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Sat, 12 Aug 2023 12:40:21 -0700 (PDT) Message-ID: To: 9front@9front.org Date: Sat, 12 Aug 2023 15:40:19 -0400 From: ori@eigenstate.org 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: SSL over ORM CSS hardware just-in-time-oriented control Subject: Re: [9front] PATCH walk(1) to (optionally) quote name and path Reply-To: 9front@9front.org Precedence: bulk Quoth unobe@cpan.org: > I realized I didn't reply to your question, sorry. No, not directly. > I am trying to consolidate some files spread across different paths to > one directory, so first doing: > > walk -f -eP | grep 'pattern' > /tmp/files_of_interest.txt > > Then after reviewing and deleting further, I was going to do something like: > > clone `{cat /tmp/files_of_interest.txt} /path/ in this case, rc doesn't evaluate the quotes, it simply splits on spaces (or whatever ifs is). > Are you thinking I'd do something like set the ifs manually? > > ifs=' > ' > clone `{cat /tmp/files_of_interest.txt} /path > yes; though I tend to use the inline version, since it has fewer warts around nested shell functions. nl=' ' clone `$nl{cat /tmp/files} /path