|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Update: php prob: downloads empty file
|
On Fri, 21 Mar 2003, gabriel rosenkoetter wrote:
> The first is on a machine with one byte line-endings, the second
> thinks it's on a machine with two. That is, the web browser is
> adding a CR or LF (as appropriate) that wasn't there in the original
> file (and doesn't belong there at all, because it just so happens
> that a byte *looks* like one or the other without actually being
> such).
>
> Run wc -l on the file (on either system!) and you should see that
> wc(1) thinks it has 67 lines.
I did this: wc -l
and I got this on both files: 500922 so.tar.gz
Thanks for letting me know something new.
Samantha
_________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
|
|