Article View: news.software.nntp
Article #62907Re: NNTP and YENC
From: Bart Crane
Date: Tue, 07 Jan 2003 16:12
Date: Tue, 07 Jan 2003 16:12
53 lines
3294 bytes
3294 bytes
"Frank Slootweg" <franks@neth.hp.com> wrote in message news:aveac2$at3$3@support.neth.hp.com... > Claus F๏ฟฝrber <claus-usenet-20030106@faerber.muc.de> wrote: > > Frank Slootweg <franks@neth.hp.com> schrieb/wrote: > >> And please no remarks about sed/grep on *DOS/Windows* 'having' to > >> terminate on Ctrl-Z. sed/grep are *UNIX*, or POSIX if you prefer, > >> standard utilities. They have to handle UNIX/POSIX text files. > > > > If and only if they are tools on a POSIX system, they have to handle > > POSIX files. This is what the POSIX standard says. > > You're joking, right!? So you mean that tools which are meant to > provide interoperability are not meant to provide interoperability? IFF "on a POSIX system". Behavior for POSIX-compatible programs running on non-POSIX systems is undefined. > > > The POSIX standard does neither say that programmes on other, non-POSIX > > systems, must conform to the POSIX standard nor that they must not be > > named "sed" or "grep". > > Of course they do. Forgive my use of the trademarked names "sed" and "grep". I was amazed that these utilities were not available on DOS when I moved there from Unix that I immediately rewrote my favorites. For example, my "tee" is dated 06/12/89. It also fails in this ctrl-z situation, as does head, wc. Of course, strings works!! It opens the file in "rb" mode. > > > Acutally, the whole idea behind a "port" (i.e. adaption) of a POSIX > > standard utility to another system is that this other system does not > > conform to POSIX. So you *want* to behave it differently. For example, a > > Windows port certainly should recognize "\r\n" as a line ending or it > > would not be useful at all. > > Yes, but a POSIX conformant utility on Windows will recognize "\r\n" > *in addition* to recognizing "\n". > > > You can argue whether a port to Windows should terminate on Ctrl-Z (IMO > > it should not) but it is not a question of POSIX conformance. > > I beg to differ.
Technical Details
Message-ID:
<B%CS9.599695$%m4.185404@rwcrnsc52.ops.asp.att.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mailReferences:
<BXLR9.432835$pN3.48082@sccrnsc03> <20030104215829.905$Rh@newsreader.com> <j8TR9.568229$WL3.160487@rwcrnsc54> <avc1qb$or1$1@support.neth.hp.com> <8dNZce3ZcDD@3247.org> <aveac2$at3$3@support.neth.hp.com>Show Full Headers
Complete Article Headers
Message-ID: <B%CS9.599695$%m4.185404@rwcrnsc52.ops.asp.att.net> Subject: Re: NNTP and YENC Date: Tue, 07 Jan 2003 16:12:17 GMT From: "Bart Crane" <svcrane@attbi.com> References: <BXLR9.432835$pN3.48082@sccrnsc03> <20030104215829.905$Rh@newsreader.com> <j8TR9.568229$WL3.160487@rwcrnsc54> <avc1qb$or1$1@support.neth.hp.com> <8dNZce3ZcDD@3247.org> <aveac2$at3$3@support.neth.hp.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail Newsgroups: news.software.nntp Lines: 52 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 12.234.193.86 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc52.ops.asp.att.net 1041955937 12.234.193.86 (Tue, 07 Jan 2003 16:12:17 GMT) NNTP-Posting-Date: Tue, 07 Jan 2003 16:12:17 GMT Organization: AT&T Broadband