9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] sed line length limit
@ 2012-05-25  7:49 dexen deVries
  2012-05-25 12:11 ` erik quanstrom
  0 siblings, 1 reply; 2+ messages in thread
From: dexen deVries @ 2012-05-25  7:49 UTC (permalink / raw)
  To: 9fans

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.


i've just been bitten by it :D


-- 
dexen deVries

[[[↓][→]]]

Weightless and alone
you speed through the eerie nothingness of space
you circle 'round the Moon
and journey back
to face the punishing torment of re-entry

-- LUNA-C, ``Supaset8 (full release)'', #24m52s




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] sed line length limit
  2012-05-25  7:49 [9fans] sed line length limit dexen deVries
@ 2012-05-25 12:11 ` erik quanstrom
  0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2012-05-25 12:11 UTC (permalink / raw)
  To: dexen.devries, 9fans

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-25 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-25  7:49 [9fans] sed line length limit dexen deVries
2012-05-25 12:11 ` erik quanstrom

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).