about summary refs log tree commit diff
path: root/Functions/Example/proto
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Example/proto')
-rw-r--r--Functions/Example/proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/Functions/Example/proto b/Functions/Example/proto
new file mode 100644
index 000000000..df1826506
--- /dev/null
+++ b/Functions/Example/proto
@@ -0,0 +1,8 @@
+#! /bin/sh
+# generate prototypes, if your style is the same as mine
+for i
+do
+	rm $i:r.pro 2>/dev/null
+	grep -v '[{};:#]' $i | grep '^[A-Za-z]' |
+		grep -v static | sed 's/$/;/' >! $i:r.pro
+done