Help for creating tag file by awk?
    KX10LYC0%TWNITRI1.BITNET at cunyvm.cuny.edu 
    KX10LYC0%TWNITRI1.BITNET at cunyvm.cuny.edu
       
    Thu Jun 13 23:05:14 AEST 1991
    
    
  
Hello:
     I want to create a tag file for my source program written in Forth, I had
seen that the C source programs can be searched by this method.
     Say, I have a large source tree which contains many subdirectories and
files. I hope to create an index file which can tell me where or which file
has the definitions which I wanted.
    For example. I want to keep an index (tag) file which includes all the
definitions beginning with ": ".
    ex.
      in file_1      : definition1 ... ;
      in file_2      : definition2 ... ;
      in dir1/file3  : definition3 ... ;
      ...
      in file_n      : definitionn ... ;
    then the index (tag) file contains the file names & definitions of above
all.
    I knew the 'awk' can do this well, but I just don't know how to do.
    I saw someone used the "vi -t definition", then he will edit the file
which contained the definiton (by C program). I am not sure that this method
can apply to the Forth source porgram.
    Does someone can tell me how to do it?
    Thanks!
    Yin-Chih Lin
    Bitnet: KX10LYC0 at TWNITRI1
    Internet: KX10LYC0%TWNITRI1.Bitnet at CUNYVM.CUNY.EDU
    
    
More information about the Comp.unix.questions
mailing list