#10 Recurse doesn't work

closed
None
5
2005-05-24
2004-12-26
No

Hi,
In 5.5.4, "ctags -R" recurses the subdirectories ok.
However,
"ctags -R *.c *.h" does not recurse.

Discussion

  • johnnyoh

    johnnyoh - 2004-12-30

    Logged In: YES
    user_id=1187148

    I am assuming you dont have any directories named *.c or *.h

    This is why it ctags is not recursing.

    If you use zsh try
    ctags -R **/*.c **/*.h

    If you dont, you can use
    find . -name "*.c" -or -name "*.h" | ctags -L-

     
  • Darren Hiebert

    Darren Hiebert - 2005-05-23
    • assigned_to: nobody --> dhiebert
     
  • Darren Hiebert

    Darren Hiebert - 2005-05-24
    • status: open --> closed
     
  • Darren Hiebert

    Darren Hiebert - 2005-05-24

    Logged In: YES
    user_id=38016

    This is a misunderstanding of what -R does. As described in
    the documentation, this option will "Recurse into
    directories encountered in the list of supplied files." You
    did not supply any directories in the list of supplied
    files. What did you think it was supposed to recurse into?
    Ctags was not designed to start guessing what you intend.

    I recommend reading the documentation to understand how to
    use the ctags command line.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks