Received: from spf3.us4.outblaze.com (spf3.us4.outblaze.com [205.158.62.25]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9J0fS1F025371 for ; Tue, 19 Oct 2004 00:41:33 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf3.us4.outblaze.com (Postfix) with ESMTP id B900A537AE for ; Tue, 19 Oct 2004 00:41:18 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJi8D-0000zM-EG for migo@homemail.com; Mon, 18 Oct 2004 20:45:41 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CJi7h-0000uB-Nc for gnu-arch-users@gnu.org; Mon, 18 Oct 2004 20:45:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CJi7f-0000tg-Kp for gnu-arch-users@gnu.org; Mon, 18 Oct 2004 20:45:07 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJi7f-0000tV-F1 for gnu-arch-users@gnu.org; Mon, 18 Oct 2004 20:45:07 -0400 Received: from [66.149.231.226] (helo=purple.west.spy.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CJi04-0003qB-LQ; Mon, 18 Oct 2004 20:37:17 -0400 Received: from [10.9.254.245] (sjc-dist3-e3.2wire.com [63.203.253.2]) by purple.west.spy.net (Postfix) with ESMTP id B398476B; Mon, 18 Oct 2004 17:37:14 -0700 (PDT) In-Reply-To: <20041019002621.GA3264@fencepost> 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> <0D336108-2162-11D9-A63A-000393CFE6B8@spy.net> <20041019002621.GA3264@fencepost> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <072EDF93-2167-11D9-A63A-000393CFE6B8@spy.net> Content-Transfer-Encoding: 7bit From: Dustin Sallings Subject: Re: [Gnu-arch-users] Re: File naming conventions Date: Mon, 18 Oct 2004 17:37:16 -0700 To: Miles Bader X-Mailer: Apple Mail (2.619) Cc: arch , Zenaan Harkness 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: 1485 Lines: 48 On Oct 18, 2004, at 17:26, Miles Bader wrote: > On Mon, Oct 18, 2004 at 05:01:39PM -0700, Dustin Sallings wrote: >> desktop:~/prog/p4gw/cms 3011> ctags `tla inventory -s` >> /usr/local/bin/ctags: Argument list too long. >> >> I suppose since this version of ctags has an option to avoid >> clobbering the tags file on a second invocation, I can use >> xargs...unless there's whitespace or something in a filename >> somewhere. > > Slightly off-topic, but xargs doesn't have any problem with typical > whitespace in file names; the main issue is _newlines_ in filenames. dustin2wti:/tmp/x 613% ll total 16 -rw------- 1 dustin wheel 18 18 Oct 17:36 file one -rw------- 1 dustin wheel 18 18 Oct 17:36 filetwo 0.000u 0.000s 0:00.04 0.0% 0+0k 0+0io 0pf+0w dustin2wti:/tmp/x 614% cat * Hi, I'm file one! Hi, I'm file two! 0.010u 0.010s 0:00.06 33.3% 0+0k 0+0io 0pf+0w dustin2wti:/tmp/x 615% find file* | xargs cat cat: file: No such file or directory cat: one: No such file or directory Hi, I'm file two! 0.000u 0.020s 0:00.08 25.0% 0+0k 0+0io 0pf+0w dustin2wti:/tmp/x 616% find file* -print0 | xargs -0 cat Hi, I'm file one! Hi, I'm file two! 0.030u 0.000s 0:00.07 42.8% 0+0k 0+0io 0pf+0w My xargs disagrees with you. -- Dustin Sallings _______________________________________________ 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/