1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-29 13:01:00 +02:00
zsh/Functions/Misc/proto
1999-06-08 09:26:01 +00:00

8 lines
194 B
Bash
Executable file

#! /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