aboutsummaryrefslogtreecommitdiff
path: root/doc/crosslink.sh
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-21 21:57:11 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-21 21:57:11 +0000
commit357ed048debba31da3ee1c0a24a3915fbe2d6a43 (patch)
tree14cfbb9d58780e8b97fa7ed642ea8b7dc1233c6c /doc/crosslink.sh
parente61c65778b22599546e46eee12f857dd1c28f89e (diff)
parentd7d1a0a38c5be06a7e7d6391d140b54878836f48 (diff)
downloadlibcap-android14-qpr2-release.tar.gz
Change-Id: I9c49381008e4ea940690b36fd9cde1c2078adc75
Diffstat (limited to 'doc/crosslink.sh')
-rwxr-xr-xdoc/crosslink.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/crosslink.sh b/doc/crosslink.sh
new file mode 100755
index 0000000..d701522
--- /dev/null
+++ b/doc/crosslink.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+#
+# So many cross links to maintain. Here is a script that I've used to
+# validate things at least conform to some structure:
+#
+for x in *.? ; do
+ y=$(grep -F '.so m' ${x} | awk '{print $2}' | sed -e 's/man..//')
+ if [ -z "${y}" ]; then
+ continue
+ fi
+ echo
+ echo "###########"
+ echo "${x} => ${y}"
+ grep -F "${x%.*}" "${y}"
+done