Received: from spf1.us4.outblaze.com (spf1.us4.outblaze.com [205.158.62.23]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9Q761n3013482 for ; Tue, 26 Oct 2004 07:06:02 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf1.us4.outblaze.com (Postfix) with ESMTP id E448F53946 for ; Tue, 26 Oct 2004 07:05:50 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMLWW-000374-JS for migo@homemail.com; Tue, 26 Oct 2004 03:13:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMLW9-00036m-A0 for gnu-arch-users@gnu.org; Tue, 26 Oct 2004 03:13:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMLW8-00036N-GS for gnu-arch-users@gnu.org; Tue, 26 Oct 2004 03:13:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMLW8-00036K-Cu for gnu-arch-users@gnu.org; Tue, 26 Oct 2004 03:13:16 -0400 Received: from [144.140.71.20] (helo=gizmo10ps.bigpond.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CMLOA-0004Uq-K9 for gnu-arch-users@gnu.org; Tue, 26 Oct 2004 03:05:03 -0400 Received: (qmail 1031 invoked from network); 26 Oct 2004 07:05:00 -0000 Received: from unknown (HELO psmam12.bigpond.com) (144.135.25.103) by gizmo10ps.bigpond.com with SMTP; 26 Oct 2004 07:05:00 -0000 Received: from cpe-144-132-211-224.nsw.bigpond.net.au ([144.132.211.224]) by psmam12.bigpond.com(MAM REL_3_4_2a 234/111896356) with SMTP id 111896356; Tue, 26 Oct 2004 17:05:00 +1000 Received: by poolcompsonline.com (Postfix, from userid 1000) id 1FE8778281; Tue, 26 Oct 2004 17:07:14 +1000 Subject: Re: [Gnu-arch-users] Re: File naming conventions From: Zenaan Harkness To: arch In-Reply-To: <20041026064956.GA27041@fencepost> References: <20041019060152.GC18852@wisq.net> <1098311382.11967.35.camel@nemesis.xlii.org> <1098313564.5336.29.camel@whiskas.cashpoolcomps.com> <1098319598.5336.46.camel@whiskas.cashpoolcomps.com> <20041021123218.GA30989@fencepost> <1098398014.5336.118.camel@whiskas.cashpoolcomps.com> <200410252009.i9PK9pP3066424@xl2.seyza.com> <1098771438.3124.23.camel@localhost.localdomain> <20041026064956.GA27041@fencepost> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1098774433.3124.42.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 26 Oct 2004 17:07:14 +1000 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: , 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: 3155 Lines: 80 On Tue, 2004-10-26 at 16:49, Miles Bader wrote: > On Tue, Oct 26, 2004 at 04:17:18PM +1000, Zenaan Harkness wrote: > > > This is perhaps harder than it should be because tla's output escaping > > > format seems very complicated -- e.g., unicode encoding etc -- and it > > > > Unicode encoding is actually a good thing. It would indeed be nice to > > have a tla-encoding filter/munger to convert to "xargs" format. Keeps > > everything nice and orthogonal etc... > > Not really. Tla _already has to do it_ -- it has to interact with the > file-system (and support the "--unescaped" option) already, so it can't > avoid having coding conversion of some sort (to the extent that tla needs > it) built-in. ok > An external tool could certainly duplicate everything in tla, but what on > earth is the point? Well, the point is certainly not to "duplicate everything in tla". The point is orthogonality. The point is having more applications than just tla, than can talk unicode. The point is in fact _minimizing_ duplication of code. At least AIUI. > The output escaping used by tla currently addressed two problems: > > (1) It avoids conflicts between filenames (and other user strings) and the > output formats used by tla (white-space separated fields etc). > > (2) It addresses the non-ascii character issue. > > (1) is a limited problem, and reasonably easy to work around and support. > Escapes added to solve this problem are easy to decode, and I can deal with > them. Except 'I can work around them' is thinking a too small yes? At least the picture I'm getting is something grander, and I really do recommend reading Hans Reiser's namespace paper(s) (namesys.org?). > (2) is much more difficult problem, and I certainly don't want (or > need) to deal with it if tla _already has the code to do it_. But as soon as tla does handle it nicely, then we as scripters want tla to interact with various other tools, utilities, etc. And I think this is the point Tom is getting at. A wholistic approach. > just tla. > Now, if there were an `xxargs' that decoded tla's escaping, presumably _it_ > could convert from the current "fully-escaped" format to "half-escaped" > format, and I could use that. But would simply be a re-implementation of > functionality already present in tla. Or perhaps pc, the PikaConvert utility, which can convert between pika escaping, plain ascii (with limitiations, etc), xargs -0 format, your suggestion of a cut-down pika escaping, etc, etc. Then, we don't need xxargs (or it would just be a wrapper for "pc|xargs"), _and_ we get the bonus of arbitrary support with _random_unix_tool_. Scripting heaven yes? > If such an external tool _did_ exist, as a scriptwriter, can I rely on this > tool being present if tla is? Does it become an extra dependency? Distro/ packaging issues are totally orthogonal to the tools discussion. Sure just a mere packaging issue? cheers zen _______________________________________________ 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/