I believe you run wget under cygwin's shell, in that case, the payload
of shell itself should also be counted.
Just curious, does linux version of J run under cygwin?
Втр, 10 Авг 2010, Raul Miller писал(а):
> I am using cygwin's wget (1.12):
>
> $ wc -c $(echo /bin/wget; ldd /bin/wget | grep -v cygdrive | awk '{print $3}')
> 324110 /bin/wget
> 1176078 /usr/bin/cygcrypto-0.9.8.dll
> 2608311 /usr/bin/cygwin1.dll
> 65536 /usr/bin/cygz.dll
> 46094 /usr/bin/cyggcc_s-1.dll
> 1005582 /usr/bin/cygiconv-2.dll
> 197646 /usr/bin/cygidn-11.dll
> 31232 /usr/bin/cygintl-8.dll
> 270862 /usr/bin/cygssl-0.9.8.dll
> 5725451 total
>
> $ wget -q -O- http://rosettacode.org/mw/images/c/c6/Pentagon.png | wc -c
> 6536
>
> $ j64-602/tools/ftp/wget.exe -q -O-
> http://rosettacode.org/mw/images/c/c6/Pentagon.png | wc -c
> 6579
>
> And, I do not believe that wget has any business converting linends, unless
> it offers that as an option and not a requirement. Especially not for
> something
> with Content-Type: image/png
>
> I think this is just wget using the default handling of stdout on
> windows -- windows is an ugly operating system and requires
> people take special steps if they want to use some of its
> features without corruption.
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm