Here's one shell script I used to use for that (I called it lisptags) ... 
hopefully it still works :-)

#!/bin/sh 
# make a tags file for pico lisp source files.
# use:
#       lisptags foo.l bar.l baz.l ... bof.l
# generate the file 'tags'
# [based on lisptags csh script by John Foderaro, c.1982]
awk '
/^[ \t]*\([bd][em][ \t]/ {
n=$2;
gsub(/^\(/,"",n);
gsub(/\)$/,"",n);
print n "\t" FILENAME "\t?^" $0 "$?";
}
/^[ \t]*\(class[ \t]/ {
n=$2;
gsub(/^\(/,"",n);
gsub(/\)$/,"",n);
print n "\t" FILENAME "\t?^" $0 "$?";
if (n ~ /^\+/) {
  gsub(/^\+/,"",n);
  print n "\t" FILENAME "\t?^" $0 "$?";
}
}
' $* | sort > tags

= = =



--- On Tue, 8/17/10, Edwin Eyan Moragas <e...@yndy.org> wrote:

> From: Edwin Eyan Moragas <e...@yndy.org>
> Subject: script for generating tags for picolisp
> To: picolisp@software-lab.de
> Date: Tuesday, August 17, 2010, 12:05 AM
> Hi all,
> 
> anybody who made an attempt to create such kind of script?
> or maybe a
> resource somewhere in the interwebs for this?
> 
> cheers,
> 
> /e
> -- 
> UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
> 


      
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to