From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] p9p sed vs linux sed
Date: Wed, 12 Aug 2015 10:23:02 +0200 [thread overview]
Message-ID: <CAOEdRO1qFzKz3jUK1PaPOW8mnrJc823YRSd7-xGTcL8zZOKC-w@mail.gmail.com> (raw)
In-Reply-To: <20150812081302.GA886@polynum.com>
> From the POSIX description (used here as some reference), when a
> line is entered in the pattern space, the trailing new line is
> discarded. When the pattern space is written to stdout it seems
> that implicitely the new line is restored---the POSIX description
> says that the input shall be a text file; and ISTR that with an
> editor, a newline is entered to the last line because a text file
> is considered to be an array of newline terminated lines.
>
> This means that it is a grey zone and depends on things that are not all
> explicitely stated and that the p9 sed(1) is not, from the/some
> specification, at fault.
Thanks for some explanation!
I now understand a bit more.
It's a pity, anyhow.
Ruda
next prev parent reply other threads:[~2015-08-12 8:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 7:39 Rudolf Sykora
2015-08-12 7:48 ` Ingo Krabbe
2015-08-12 7:57 ` Rudolf Sykora
2015-08-12 8:13 ` tlaronde
2015-08-12 8:23 ` Rudolf Sykora [this message]
2015-08-12 11:35 ` Ingo Krabbe
2015-08-12 12:39 ` Rudolf Sykora
2015-08-12 13:47 ` lucio
2015-08-12 14:22 ` Rudolf Sykora
2015-08-12 14:29 ` Ingo Krabbe
2015-08-12 7:58 ` Ingo Krabbe
2015-08-14 14:59 ` Alexander Kapshuk
2015-08-15 2:27 ` erik quanstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOEdRO1qFzKz3jUK1PaPOW8mnrJc823YRSd7-xGTcL8zZOKC-w@mail.gmail.com \
--to=rudolf.sykora@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).