From: "有澤 健治" <arisawa@ar.aichi-u.ac.jp>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Brdline and the last line
Date: Tue, 27 May 2014 12:49:15 +0900 [thread overview]
Message-ID: <4D728D0C-3A88-44D5-AB84-C7142302B729@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <4c6dec5271e325c32ee144badfeae4c8@quintile.net>
Try rdline in Kirara package.
http://plan9.aichi-u.ac.jp/netlib/
On 2013/10/10, at 0:53, Steve Simon wrote:
> Hi all
>
> It has long been an irritation that Brdline returns failure (to match the
> end of line token) at end of file if the file does not end with a newline.
>
> This is correct but annoying.
>
> does anyone had a neat snippet of code which ensures we parse the
> last line correctly?
>
> For files on the filesystem I just fix them, but I am wrapping Brdline
> around a tcp connection so I am not in control of how people terminate
> their files...
>
> -Steve
>
prev parent reply other threads:[~2014-05-27 3:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 15:53 Steve Simon
2013-10-09 16:04 ` erik quanstrom
2013-10-10 3:46 ` 有澤 健治
2014-05-27 3:49 ` 有澤 健治 [this message]
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=4D728D0C-3A88-44D5-AB84-C7142302B729@ar.aichi-u.ac.jp \
--to=arisawa@ar.aichi-u.ac.jp \
--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).