patch-2.3.99-pre1 linux/scripts/gen-all-syms
Next file: linux/scripts/kernel-doc
Previous file: linux/scripts/docproc.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Sun Mar 12 19:39:47 2000
-  Orig file: 
v2.3.51/linux/scripts/gen-all-syms
-  Orig date: 
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.3.51/linux/scripts/gen-all-syms linux/scripts/gen-all-syms
@@ -0,0 +1,7 @@
+#!/bin/sh
+for i in $*
+do
+	grep "EXPORT_SYMBOL.*(.*)" "$i" \
+		| sed -e "s/EXPORT_SYMBOL.*(/  /" \
+		| sed -e "s/).*$//"
+done
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)