diff options
author | jkh <jkh@FreeBSD.org> | 1999-07-02 04:00:01 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-07-02 04:00:01 +0000 |
commit | 1473f599fcb93ef7f7a2db81428f6d9016b15704 (patch) | |
tree | 9a0607b0764e9f026eb35a51cfb7f342f354529e /sys/conf/systags.sh | |
parent | df3583f21bf8067bed5c714713c91f1d02443552 (diff) | |
download | FreeBSD-src-1473f599fcb93ef7f7a2db81428f6d9016b15704.zip FreeBSD-src-1473f599fcb93ef7f7a2db81428f6d9016b15704.tar.gz |
Working kernel tags!
Submitted by: Craig Leres <leres@ee.lbl.gov>
PR: 2806
Diffstat (limited to 'sys/conf/systags.sh')
-rw-r--r-- | sys/conf/systags.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/conf/systags.sh b/sys/conf/systags.sh index 4cda02a..f046841 100644 --- a/sys/conf/systags.sh +++ b/sys/conf/systags.sh @@ -38,12 +38,12 @@ # # First written May 16, 1992 by Van Jacobson, Lawrence Berkeley Laboratory. # -# $Id$ +# from: $Header: systags.sh,v 1.3 96/08/08 20:23:13 leres Exp $ rm -f tags tags.tmp tags.cfiles tags.sfiles tags.hfiles -MACHINE=`machine` -sed -e "s,\./machine/,../../$MACHINE/include/,g" \ - -e 's,[a-z][^/ ]*/\.\./,,g' .depend | awk '{ +MACHINE=`uname -m` +sed -e "s, machine/, ../../$MACHINE/include/,g" \ + -e 's,[a-z][^/ ]*/\.\./,,g' .depend | awk '{ for (i = 1; i <= NF; ++i) { t = substr($i, length($i) - 1) if (t == ".c") @@ -64,7 +64,7 @@ sed -e "s,\./machine/,../../$MACHINE/include/,g" \ }' ctags -t -d -w `cat tags.cfiles tags.hfiles tags.sfiles` -egrep -o "^ENTRY\(.*\)|^ALTENTRY\(.*\)" `cat tags.sfiles` | \ +egrep "^ENTRY\(.*\)|^ALTENTRY\(.*\)" `cat tags.sfiles` | \ sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$/;" >> tags mv tags tags.tmp |