grumbling about text formatting 

Plain text is a great format because it trivially adapts to the formatting the reader chooses.

Hard wrapping lines to 72/80/100/120/n characters actively goes against that. Now your text wastes space on larger displays *and* requires horizontal scrolling on smaller ones.

Please stop doing that.

grumbling about text formatting 

Or it wraps anyway and you get unreadable trash.


grumbling about text formatting 

Of course, this example COULD be re-wrapped at display time, assuming \n\n represents a paragraph break.

· · Web · 1 · 0 · 3

@TerryHancock @emily Is there any standard command that does it for you? writing this off the top of my head so I'm just gonna hope it works

perl -pe 's/(?<=.)\n/ /g' <<< "poorly formatted text. piping it in should also work if you don't want to use redirection."

Sign in to participate in the conversation

Mastodon.ART — Your friendly creative home on the Fediverse! Interact with friends and discover new ones, all on a platform that is community-owned and ad-free. (翻译:DeepL)mastodon.art是艺术家和艺术爱好者的空间,而不是政治内容的空间--有许多其他的fediverse实例,你可以加入以获得更多的一般内容(而且你仍然可以从任何实例中关注你在.art上的朋友);见 :)