postgresql/src/tools/make_etags

11 lines
233 B
Plaintext
Raw Normal View History

1997-09-08 06:19:50 +02:00
#!/bin/sh
trap "rm -f /tmp/$$" 0 1 2 3 15
rm -f ./TAGS
find `pwd`/ -type f -name '*.[chyl]' -print | \
xargs etags --append -o TAGS
1997-09-08 06:19:50 +02:00
find . -type d -print | \
while read DIR; do
[ "$DIR" != "." ] && ln -f -s `pwd`/TAGS $DIR
done