Moin, I've tried to pipe paragraphs of a troff document to fmt but I have problems with the correct regular expression. My first attempt "/^\.[A-Z]++.*\n(^[^]*)*\n^\.[A-Z]++.*\n/" matches only any second paragraph because the expression is overlapping. Does anyone have a nice idea to match troff parapgraphs?
Many thanks Matthias
