1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-09 00:36:06 +02:00
zsh/Functions/proto

9 lines
194 B
Plaintext
Raw Normal View History

1999-04-15 20:05:35 +02:00
#! /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