gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: File naming conventions


From: Adrian Irving-Beer
Subject: Re: [Gnu-arch-users] Re: File naming conventions
Date: Tue, 19 Oct 2004 02:01:52 -0400
User-agent: Mutt/1.5.6+20040907i

On Tue, Oct 19, 2004 at 03:24:56PM +1000, Zenaan Harkness wrote:

> > Is it because of pristines?  If so, the solution
>
> "a" solution

The proper solution, if you really want to use ctags recursion.  At
least with exuberant-ctags, -R will enter directories no matter their
name, starting with a period or otherwise.

> >  is to get rid of them, not rename {arch}
>
> which is "another" solution

Not really a solution, see above.  It does resolve globbing at the top
level, but that's a rather thin fix, because running it from higher up
in a nested tree structure will still be ctagging all your pristines.

We gotta store metadata somewhere.  If not all tools avoid the dot-
prefix like some people apparently expect them to, then we're doomed
to half-fixes.

> We are debating the technical merits of the alternative solutions.

And some alternatives just plain make more sense.

A quick manpage browse (again, exuberant-ctags) shows a -L option that
reads a file list from a file, possibly standard input.

% 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.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]