9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] \n\n\n to \n\n
@ 2003-02-28 18:48 Joel Salomon
  2003-03-03 10:09 ` Douglas A. Gwyn
  0 siblings, 1 reply; 8+ messages in thread
From: Joel Salomon @ 2003-02-28 18:48 UTC (permalink / raw)
  To: 9fans

> however, sed doesn't like long lines

> you could do it in sam: s/\n\n\n/\n\n/g

Was the "stream sam" mentioned in the Structured Regular Expressions paper
ever written - or can sam be run in streaming mode?

--Joel



^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <1900322893@snellwilcox.com>]
* [9fans] \n\n\n  to  \n\n
@ 2003-02-28 12:42 peter a. cejchan
  2003-02-28 18:11 ` Russ Cox
  2003-03-03 10:08 ` Ralph Corderoy
  0 siblings, 2 replies; 8+ messages in thread
From: peter a. cejchan @ 2003-02-28 12:42 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

hi,
(sorry for this off-topic question, but)
i don't know how to translate triple newlines into double ones.
i tried tr \n to something else and then sed,
however, sed doesn't like long lines :-(
any hint appreciated,
thanks, regards,

++pac

[-- Attachment #2: Type: text/html, Size: 931 bytes --]

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

end of thread, other threads:[~2003-03-04 10:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-28 18:48 [9fans] \n\n\n to \n\n Joel Salomon
2003-03-03 10:09 ` Douglas A. Gwyn
2003-03-03 14:25   ` Dan Cross
     [not found] <1900322893@snellwilcox.com>
2003-03-03 11:14 ` Steve Simon
2003-03-04 10:26   ` Fco.J.Ballesteros
  -- strict thread matches above, loose matches on Subject: below --
2003-02-28 12:42 peter a. cejchan
2003-02-28 18:11 ` Russ Cox
2003-03-03 10:08 ` Ralph Corderoy

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