about summary refs log tree commit diff
path: root/Functions/Example/proto
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:26:49 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:26:49 +0000
commitd56202de5d83bc4e1ed08a78065bc0c28895a6a8 (patch)
treef552002cdb107205a78d88aac185ae76e8836271 /Functions/Example/proto
parente5a265ba8d77529325befc8909eb30347d2746c3 (diff)
downloadzsh-d56202de5d83bc4e1ed08a78065bc0c28895a6a8.tar.gz
zsh-d56202de5d83bc4e1ed08a78065bc0c28895a6a8.tar.xz
zsh-d56202de5d83bc4e1ed08a78065bc0c28895a6a8.zip
moved from ./Functions/Misc/proto
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