Cross Reference: ldd.cygwin.i386
xref
: /
ast
/
src
/
cmd
/
INIT
/
ldd.cygwin.i386
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
ldd.cygwin.i386 revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
#!/
bin
/
env
sh
:
cygwin.i
386
ldd
--
how
many
ways
does
this
confirm
the
windows
bias
?
for
f
do
case
$f
in
*.
exe
) ;;
*) f=$
f.exe
;;
esac
p=
$(
type
$f)
case
$p
in
*
" not found"
*)
;;
*) p=${p
##* }
case
$p
in
?*) f=$p ;;
esac
;;
esac
cygcheck
$(
cygpath
-
aw
$f)
|
for
w
in
$(
sed
-e
's/^[[:space:]]*//'
-e
'/^$/d'
-e
'/^Use /d'
)
do
cygpath
-u
"$w"
done
done