On sexta-feira, 21 de dezembro de 2012 09.04.59, Lincoln Ramsay wrote:
> On 20/12/12 22:18, andy fillebrown wrote:
> > That makes sense but the .tar.gz is smaller so that's the one I
> > downloaded.  I assumed they'd be the same.
> 
> .zip also has DOS line endings where .tar.gz has UNIX line endings.
> 
> That shouldn't be a big deal these days but there are still tools that 
> don't like "wrong" line endings out there...

Actually, the ZIP has the text files saved as "text mode". It's just that the 
unzip tool on Unix for whatever reason decides to extract those as CRLF -- I 
guess it's a legacy from days when PKZIP.EXE set the text attribute and people 
needed those CRLF files unchanged.

You can tell unzip to convert to Unix line-endings by giving it the -a flag.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to