9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: dexen.devries@gmail.com, 9fans@9fans.net
Subject: Re: [9fans] sed line length limit
Date: Fri, 25 May 2012 08:11:23 -0400	[thread overview]
Message-ID: <45743d9f2a12aa782f2bc7e0fb538149@kw.quanstro.net> (raw)
In-Reply-To: <1869769.5zfVYFYKKa@coil>

On Fri May 25 03:51:27 EDT 2012, dexen.devries@gmail.com wrote:
> hi list,
>
>
> it seems p9p sed has line lenght limit at about 1024 bytes.
> however, instead of crashing and burning, or returning some error, it just
> happily spews truncated output.

please see /n/sources/contrib/quanstro/sed.c.  i think i've taken
care of all these cases.  there is at least diagnostic output.
i was somewhat concerned about breaking things, so i didn't
let toolong() sysfatal, but that's an easy mod.

- erik



      reply	other threads:[~2012-05-25 12:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-25  7:49 dexen deVries
2012-05-25 12:11 ` erik quanstrom [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=45743d9f2a12aa782f2bc7e0fb538149@kw.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    --cc=dexen.devries@gmail.com \
    /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).