projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
BSD 2 development
[unix-history]
/
src
/
ctags.sh
Commit
Line
Data
fe3aaec5
BJ
1
# ctags
2
# (c) 1979 Regents of the University of California
3
grep '^[a-z].*)$' $* >/tmp/$$
4
ed - /tmp/$$ << 'EOF'
5
1,$s/(.*//
6
1,$s/\(.*\):\(.*\)/\2 \1 \/^\2\//
7
w
8
q
9
'EOF'
10
sort -d /tmp/$$ | uniq >tags
11
rm /tmp/$$