Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] ask help( shell)


<quote who="henry">

> Dear List :
> 
>       I need to tag  *.c        *.h        *.cpp ,but it (as follows)  fail
>   find . -name  ( "*.[c|h]" -or "*.cpp" )  | xargs etags

Try:

  echo *.{c,h,cpp} | xargs etags

- Jeff

-- 
   "PHP, when it first came out, didn't really have any merits, and many    
    claim it still doesn't, but it filled a void where a simple tool to     
            perform a simple task was needed." - Rasmus Lerdorf