Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4414946imm; Fri, 18 May 2018 04:52:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrDZTed7YFvY5l31oJXYGhvsSfKXWE+mOJxjG16ItQsgfhIdq/R5jO0zaKQxjxaSR5j+rXO X-Received: by 2002:a63:6a04:: with SMTP id f4-v6mr7314596pgc.225.1526644365576; Fri, 18 May 2018 04:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526644365; cv=none; d=google.com; s=arc-20160816; b=worwzAdTW9ncjs+dZfwN6t46jDqehpiWuuCT2pIMBDiF6Qcb77uZq151efCKpiU4aG F9H9jUJRci2tW7fKP18N//5Xv+QJNk/n7Ptr0RQDhYTNfNcjlABTHfLRQbnViJGCij7h YNkDIdutotlrhpD/Dd6IWT8DTHgOb+uulRyeADEm5t9DM/OWdr8MbwfJnH6oXh0gw9Lp CF7OkejmvFXoYPzgaNVpqZE9+tE28CRr5gEUMZBNgba4XUBuo2nb70P5ILtXDTIezV67 Rmx6bDOoTmOcUPPjPNpX/gyqLnLFlJNFE01HywClFTs08+OKscQKdJzfdrtgGouq2dSF 758w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=KOqOJ48UwU3nm5y/0VPpvNTRr6alAYMMTqw4x+uCw54=; b=jfYOCSz7O0up7FTKbwH+xDPC6rsqSzcK8oDY86VeAUwy8Tf49bgEiPdRR52jhjhQSS jlrRZYLDHdRwh/9a07PL4jdtg79ZRCcGlt2Dom4hbDO91MF92aPXlXv5wG+zKik6G/Lb e9XbHLW9oKWr5qYles9UCkV5xVvCoKj0pqpLgGfjWK7gL17PwsUgTV/J4nRGAf5CN+Nv kgeCDQ5cDiV65IPaOVLE0iDxCpSLWpzINAit4DV1TXHifkHROwoq4hTuWroJbqqVEFOc 6e8GcQarNFhsimq8Kksr5V7CTOjdHoGutxBu9V2f7vtm+m0GcWfFv3nxfrpNkxA0MO57 2/PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JdLYUs6+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w15-v6si7836014plp.7.2018.05.18.04.52.31; Fri, 18 May 2018 04:52:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JdLYUs6+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751320AbeERLwL (ORCPT + 99 others); Fri, 18 May 2018 07:52:11 -0400 Received: from mail-pl0-f51.google.com ([209.85.160.51]:33115 "EHLO mail-pl0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbeERLwI (ORCPT ); Fri, 18 May 2018 07:52:08 -0400 Received: by mail-pl0-f51.google.com with SMTP id n10-v6so4466883plp.0 for ; Fri, 18 May 2018 04:52:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KOqOJ48UwU3nm5y/0VPpvNTRr6alAYMMTqw4x+uCw54=; b=JdLYUs6+dy69Gst2a+YT/D+XudtYG8HhaLL4JpiuGd18H5iQEBtmnYSFzrcu0b8yOY 6Pj64BVzHHXW6Cd1ev2nOnWcd0PjJEobFShL7MysASwtpCHPin1F24/yIVgkJWcCyhqs Y28Qh9QFq/Y5z7x+ris14R0UkOJWJN497RmhIhXqHLeFa0JN3Omv+wa8ri+PPfc0rTQT b5d9S/sGsIquO+3dsLVfYdmZ/t48/umT738nHWI5PawZC7pbyL7gQ/oj7J548wsw6/CU DnBw0mPkqjcOAvChqMNPnwvBgh57DcVHW7lhMJzOY5MZmwB2zNaDUKNb2yQDF3WZByWA NM/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KOqOJ48UwU3nm5y/0VPpvNTRr6alAYMMTqw4x+uCw54=; b=T1kUNGWFdaHKVX/+binKrr60AOGcjmNaXWFoUMKCnxl+flKUg3tgaTvXwCEchAau22 by3MW0NNbKH+9eo5prPFe3paPWjicXvAfRz8TCfHAVptupIBVcANiZi1Z+4Z8WzGwTPb ZT1DY7nCTWh/y0eS2jamrGI//n58vlKg6HF1iaG3wWeNfBmLmdALY7WykTA28l/HpIrJ zAUVF0Pd/7zdiKlHpCbPzbJ1bFfKsFuZNs1uokNcAePnnXyvFD4w618ZexYl75ZMmHYH nhviiC3sYySC3CFhixLqe8bQoiiNbMR7lMk4nba6buGK3FjsCdMD5imnUzzVESCb+Avr 1xmw== X-Gm-Message-State: ALKqPwe5uf6Eu9DfmraKY3eG/g1DV6qWG0Yf5Ut6H+fDarIOP8gz+riS UYw75XI8UjF99zOEGe8pcFk= X-Received: by 2002:a17:902:8647:: with SMTP id y7-v6mr9109255plt.86.1526644327926; Fri, 18 May 2018 04:52:07 -0700 (PDT) Received: from gmail.com ([2605:e000:1117:c0e3:2e0:1bff:fe70:ea]) by smtp.gmail.com with ESMTPSA id 65-v6sm15521865pft.74.2018.05.18.04.52.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 04:52:06 -0700 (PDT) Date: Fri, 18 May 2018 01:52:04 -1000 From: Joey Pabalinas To: Masahiro Yamada Cc: Joey Pabalinas , Andrew Morton , Linux Kernel Mailing List , Arend van Spriel , Robert Jarzmik Subject: Re: [PATCH v3] scripts/tags.sh: don't parse `ls` for $ALLSOURCE_ARCHS generation Message-ID: <20180518115204.fvz24hdytdh6qgt7@gmail.com> References: <20180518062553.kodjjrlrosrg7vfq@gmail.com> <20180518093131.7g5m4mu3mtrgb7so@gmail.com> <20180518095833.kua6rcsrvz3vb4qv@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hqjldhauj7dntyvd" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323-62-378db9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --hqjldhauj7dntyvd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 18, 2018 at 08:03:26PM +0900, Masahiro Yamada wrote: > Does this work? > ALLSOURCE_ARCHS=3D$(find "${tree}"arch -mindepth 1 -maxdepth 1 -type d > -printf ' %f') Aha, that actually works perfectly. > It would leave one leading space, but I do not think it is a big deal. >=20 >=20 > It would be possible to chop it like follows, but I wonder if it is worth= doing. > ALLSOURCE_ARCHS=3D$(find "${tree}"arch -mindepth 1 -maxdepth 1 -type d > -printf ' %f' | cut -c2-) Yeah, the leading space isn't really something that is worth worrying about here in my opinion either. I'll use this in my v4 then, thanks. --=20 Cheers, Joey Pabalinas --hqjldhauj7dntyvd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKlZXrihdNOcUPZTNruvLfWhyVBkFAlr+vmQACgkQruvLfWhy VBkh8hAAjuzMmHGTcMOGcx4nZDzJT9t73wv00VFIBIHjR3l4vdP5+j5jKiDsFHO5 LENF5XM9ICXINhjUSV8GMBqHea4nefx8hl3yWFFKNOZZ3GgifxW2VaonxpoIW6Ik j9EHfeEe+7j6QiNFkkB1rj+/b1oNCaOuA1jWaAsYFlhhP4A+elR+v7zmummgpNNd 699e35aB2sOmHwdLgVzh6kcHvHp/c207aVno6pZkqFBmSzXam3Zkiq98tI4w+DUP RwkINojoG0Z7DnFCLivjEz0gRKTFEtOCW4B86suyGjOUOJ8oM1/bdBSwhpAWaD8E A//lOZSDJNkelhi0fn3p1Z0K35CZ+0+7y7U5ms4jOs1pAUZxQPq+tiOZIZTPgy2K FaA9ofqet4347mBexxpcOjmT5HM7+u8JypO9aZJL0w0VTypeyu71xLHCJEQgVsei qB7gvVoHY0cAGIlHEJXUMueedkpd1tChDckhWePUNSQlOtkfhBBcClwixLykgMsU an+vhIz9D5K7UMWf9ULuMsNx+/Fg0rHByXj0YtOcOY13qndmEjtqj/dBknodxhdR hmFrztJ/N983p5mnZn6pBJgJNYe31WUR8ROO/zcpXfucIV7AeGQhorgHoHNEsuJZ VlJz06S5KbuELV/jJ2Ymlu49gqgaors8ZSE874T3dIgaj6Sf+MY= =uVbM -----END PGP SIGNATURE----- --hqjldhauj7dntyvd--