1/for i in $incpth/a 2. 3/if $test -f/s/$i/${SDKROOT}&/g 4/^$cat \/usr\/include\/signal\.h \/usr\/include\/sys\/signal\.h/s,/usr/include,${SDKROOT}&,g 5/\/usr\/include\/ctype\.h/s//${SDKROOT}&/ 6/: Now check and see which directories actually exist, avoiding duplicates/a 7. 8/$test -d $xxx/s/$xxx/${SDKROOT}&/ 9/: Looking for optional libraries/a 10. 11/test -d $thisdir/s/$thisdir/${SDKROOT}&/ 12/for thisincl in $inclwanted;/a 13. 14/$test -d $thisincl/s/$thisincl/${SDKROOT}&/ 15/^inctest=/s/$usrinc/${SDKROOT}&/ 16/$usrinc\/sys\/$1/s/$usrinc/${SDKROOT}&/ 17/^$cat >findhdr/a 18. 19/test -f \\$usrincdir\/\\$wanted/s/\\$usrincdir/\\${SDKROOT}&/ 20/echo "\\$usrincdir\/\\$wanted"/s/"/"\\${SDKROOT}/ 21w 22