Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9KNRI04027561 for ; Wed, 20 Oct 2004 23:27:19 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 075E777067 for ; Wed, 20 Oct 2004 23:27:17 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKPyr-0000PQ-Fk for migo@homemail.com; Wed, 20 Oct 2004 19:34:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CKPyR-0000O4-Fr for gnu-arch-users@gnu.org; Wed, 20 Oct 2004 19:34:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CKPyQ-0000NX-U9 for gnu-arch-users@gnu.org; Wed, 20 Oct 2004 19:34:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKPyQ-0000NT-QW for gnu-arch-users@gnu.org; Wed, 20 Oct 2004 19:34:30 -0400 Received: from [128.255.17.57] (helo=server17.icaen.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CKPqk-0002sJ-VB for gnu-arch-users@gnu.org; Wed, 20 Oct 2004 19:26:35 -0400 Received: from server11.icaen.uiowa.edu (server11.icaen.uiowa.edu [128.255.17.51]) by server17.icaen.uiowa.edu (8.12.9/8.12.9) with ESMTP id i9KNQZcr020675; (envelope-from ) Wed, 20 Oct 2004 18:26:35 -0500 (CDT) Received: from [192.168.1.11] (12-217-241-0.client.mchsi.com [12.217.241.0]) by server11.icaen.uiowa.edu (8.12.9/smtp-service-1.6) with ESMTP id i9KNQXfU002890; (envelope-from ) Wed, 20 Oct 2004 18:26:33 -0500 (CDT) Message-ID: <4176F429.3070209@johnmeinel.com> Date: Wed, 20 Oct 2004 18:26:33 -0500 From: John Meinel User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Zenaan Harkness Subject: Re: [Gnu-arch-users] Re: File naming conventions References: <1098074588.29545.40.camel@whiskas.cashpoolcomps.com> <1098092294.5219.8.camel@johannes> <20041018181822.GD9196@puritan.pcp.ath.cx> <8D7869BC-213A-11D9-A63A-000393CFE6B8@spy.net> <1098141434.19575.42.camel@whiskas.cashpoolcomps.com> <20041018233511.GA31642@fencepost> <1098156854.19575.65.camel@whiskas.cashpoolcomps.com> <1098163496.19575.134.camel@whiskas.cashpoolcomps.com> <20041019060152.GC18852@wisq.net> <1098311382.11967.35.camel@nemesis.xlii.org> <1098313564.5336.29.camel@whiskas.cashpoolcomps.com> In-Reply-To: <1098313564.5336.29.camel@whiskas.cashpoolcomps.com> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.66n X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75 on clamav.icaen.uiowa.edu X-Virus-Status: Clean Cc: GNU Arch Users X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0848245429==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 3259 Lines: 101 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0848245429== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig99CDFBC264CA280E460ED8C6" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig99CDFBC264CA280E460ED8C6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Zenaan Harkness wrote: >>>% tla inventory -s | ctags -L - >>> >>>Not as pretty as 'ctags -R *', but still pretty short, and much saner. >>>No pristines, no precious files, no backup files, no junk files. >>>Spaces in filenames work. No \0's, no xargs limit issues. You can >>>even slap a --nested in there if you like. >> >>Except that does not work for even slightly "unusual" file names, like >>the ones which make the -0 option to find and xargs useful, because of >>pika escaping. > > > Which is therefore a bug in tla inventory: missing -0 option. > > (I haven't filed a bug before, but I don't imagine it's > overly difficult.) > Actually, I think what ddaa is mentioning is even more serious. For filenames with "bad" characters in them, tla inventory outputs the pika escaped version, not the real version. As an example: $ cd project-tree $ echo "# arch-tag: `uuidgen`" > "test file.txt" $ tla inventory --source ... test\(sp)file.txt ... That doesn't work for *anyone* whether we had a -0 flag or not. Maybe we could have '-0' mean, use null termination, and don't pika escape. I'm not very happy that tla inventory, or tla changes, etc all show the pika escaped version of the files, it really messes with toolchains. So far, though, that is the decision from on high. (It probably makes things work better internal to tla, but that doesn't help external things) There is the command tla escape (and tla escape --unescaped). But they only read a single command line argument. So you can't do: tla inventory --source | tla escape --unescaped | xargs chmod 644 and you can't do tla inventory --source | xargs tla escape --unescaped | xargs chmod 644 And you can't even do: tla inventory --source | xargs -n1 tla escape --unescaped \ | xargs chmod 644 Because xargs strips off the whitespace. I haven't found anything that works outside of building a complete bash script. John =:-> --------------enig99CDFBC264CA280E460ED8C6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBdvQpJdeBCYSNAAMRAk8XAJsFAnodIYa08lU/Dc2oaSP/uYfrXACeODQS /6sKS/8RUAPjcduMX+HyFjA= =Bvwm -----END PGP SIGNATURE----- --------------enig99CDFBC264CA280E460ED8C6-- --===============0848245429== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============0848245429==--