Is there anything known to be non-portable about this technique for generating a list of all included files?
cc [-I options] -E <source-file> \
| sed -e '{
/^#[[:space:]]\{1,\}[[:digit:]]\{1,\}[[:space:]]\{1,\}"/!d
s/^[^"]*"//
s/"[^"]*$//
}'
| sort -u
I noticed that depcomp uses something similar for some compilers, but
not others.
-t
