1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-14 11:56:04 +02:00
zsh/Functions/proto
1999-04-15 18:05:35 +00:00

9 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