projects
/
unix-history
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
BSD 2 development
[unix-history]
/
src
/
ctags.sh
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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/$$