2 # change #include's to <> or ""
5 trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
6 find . \( -name CVS -a -prune \) -o -type f -name '*.[chyls]' -print |
9 cat "$FILE" | grep "^#include" |
10 sed 's/^#include[ ]*[<"]\([^>"]*\).*$/\1/g' |
13 if [ -s /usr/include/"$INCLUDE" ]
15 sed 's;^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]$;#include <'"$INCLUDE"'>;g' >/tmp/$$
17 sed 's;^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]$;#include "'"$INCLUDE"'";g' >/tmp/$$