Re: DOS Newline Character

From: Roger Leigh (${roger}_at_invalid.whinlatter.uklinux.net.invalid)
Date: 12/08/04


Date: Wed, 08 Dec 2004 22:43:39 +0000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lawrence DÂčOliveiro <ldo@geek-central.gen.new_zealand> writes:

> For those who were putting up POSIX as an excuse for Linux not to
> have to deal with this, it's worth pointing out that the Windows NT
> family is officially POSIX-compliant, whereas as far as I know,
> Linux has not passed POSIX compliance, nor is it likely ever to.

I think you'll find that Windows NT was certified for only the most
basic level of POSIX conformance, and that the implementation leaves a
lot to be desired (and is now rather outdated). Linux, on the other
hand, implements pretty much all of it (excluding STREAMS) and aims
for full compliance with the /current/ standard (and, incidentally was
tested for POSIX.1 conformance by Unifix GmBH--see the kernel startup
messages).

Which OS has the piece of paper saying "we paid a lot of money for a
fancy cert" in no way relates to the quality or breadth of the POSIX
(SUSv3) implementation.

> So the idea that POSIX compliance means that you musn't cope with
> line ending conventions other than LF-only is a load of hogwash.

Huh?

>>It isn't too difficult to work around...
>
> Agreed, but at present _every_ application has to reinvent the solution.
> It's not too difficult to solve the problem in stdio once and for all.

Have you actually read and understood the numerous replies in this
thread? This is taken care of by the compiler and C library.

- --
Roger Leigh
                Printing on GNU/Linux? http://gimp-print.sourceforge.net/
                Debian GNU/Linux http://www.debian.org/
                GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFBt4OaVcFcaSW/uEgRAsSYAJ4zLB6W1dIWqpD5qcFAQQD8DKGJ4wCglZtf
kwvjEzj0tDHIQtXmnw4JwNA=
=/5vr
-----END PGP SIGNATURE-----



Relevant Pages

  • Re: DOS Newline Character
    ... > have to deal with this, it's worth pointing out that the Windows NT ... > Linux has not passed POSIX compliance, nor is it likely ever to. ... basic level of POSIX conformance, and that the implementation leaves a ... Printing on GNU/Linux? ...
    (comp.os.linux.misc)
  • Re: READ THIS B4 POSTING IN COLA. C.O.L.A Newcomer FAQ (Read This Before Posting in COLA)
    ... I don't know about the Windows XP group, ... It's quite biased in regards to the people using Gnu/Linux ... > and elsewhere that you may find useful in your quest to try linux. ... some great and stable software for free with your operating system, ...
    (comp.os.linux.misc)
  • Re: READ THIS B4 POSTING IN COLA. C.O.L.A Newcomer FAQ (Read This Before Posting in COLA)
    ... I don't know about the Windows XP group, ... It's quite biased in regards to the people using Gnu/Linux ... > and elsewhere that you may find useful in your quest to try linux. ... some great and stable software for free with your operating system, ...
    (alt.os.linux.suse)
  • Re: Universal sound card?
    ... all my fault that linux won't work with my hardware. ... If you're running windows, this is usually not a concern. ... for GNU/Linux, doesn't mean that your hardware is standard. ... Those highschool kids are actually qualified engineers, and those drivers ...
    (comp.os.linux.hardware)
  • Re: linux for beginners
    ... longer be working on Windows. ... GNU/Linux is a de facto UNIX system. ... I recommend that you would buy a shrinkwrapped, boxed GNU/Linux distribution ... you would have to download and install those tools yourself. ...
    (comp.os.linux.hardware)