Re: [9fans] Brdline and the last line

2014-05-26 Thread 有澤 健治
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

Re: [9fans] Brdline and the last line

2013-10-09 Thread 有澤 健治
Hello, If speed is matter, try rdline() in Kirara. http://plan9.aichi-u.ac.jp/netlib/kirara/kirara-1.2a.tgz More improved version will be included in kirara-2.0 (to be released). On 2013/10/10, at 1:04, erik quanstrom wrote: > On Wed Oct 9 11:54:41 EDT 2013, st...@quintile.net wrote: >> Hi all

Re: [9fans] Brdline and the last line

2013-10-09 Thread erik quanstrom
On Wed Oct 9 11:54:41 EDT 2013, st...@quintile.net 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 c

[9fans] Brdline and the last line

2013-10-09 Thread Steve Simon
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 files