On 2017-11-21 8:43, Venu Chakravorty wrote:
Hello all,

Although the ctags manual page for a typical Linux machine
(https://linux.die.net/man/1/ctags) says that that the `-R` switch can
be used to generate a "tags" file recursively, [the manual page for
OpenBSD (https://man.openbsd.org/OpenBSD-6.2/ctags) does not mention
how to achieve this. So how do I do this on OpenBSD? Am I missing
something? Please help.

rm tags; find . \( -name '*.h' -o -name '*.c' \) | xargs ctags -a

Let find(1) manage the recursive part.
--
 Matthew Weigel
 hacker
 unique & idempot . ent

Reply via email to