[dev] ssam rocks! unwrapping paragraphs

From: <201009-suckless_AT_planhack.com>
Date: 22 Mar 22 21:49 EDT

sed is the canonical paragraph mangler. It's worth spending a bit to grok how that is true.

    tr -d '\r' | sed '/^$/!{H;d;};p;x;s/\n/ /g;'

Gutenberg lines are CRLF-terminated so `tr` is needed.
Received on Wed Mar 23 2022 - 02:49:00 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 23 2022 - 03:36:07 CET