[MlMt] Formatting correction feature?
Steven M. Bellovin
smb at cs.columbia.edu
Fri Dec 25 20:22:47 EST 2020
On 19 Dec 2020, at 3:06, Nils Blomqvist wrote:
> On 17 Dec 2020, at 15:55, Nils Blomqvist wrote:
>
>> On 17 Dec 2020, at 15:31, Steven M. Bellovin wrote:
>>
>>> On 17 Dec 2020, at 9:24, Nils Blomqvist wrote:
>>>
>>>> Steven M. Bellovin Thu, 29 Dec 2016 15:01:58 -0800:
>>>>
>>>>> Someone once showed me how to set up 'fmt' as a service -- you
>>>>> select
>>>>> the text, right-click, and invoke this service; it wraps lines at
>>>>> 72
>>>>> characters. If there's interest, I'll dig up the instructions on
>>>>> how to
>>>>> do it.
>>>>
>>>> Here’s a reply from someone looking for ”wrap to n columns”.
>>>>
>>>> I tried the tip from Steven M. Bellovin, but I found it will strip
>>>> away
>>>> a lot of characters, probably Unicode ones.
>>>>
>>>> Anyone has a tip?
>>>
>>> The semester is about over; I may rewrite fmt to handle Unicode,
>>> since it's been annoying me, too…
>>
>> After some digging I found https://unix.stackexchange.com/a/457147,
>> recommending to install the Plan9 fmt port. I’ll give it a go
>> another
>> day.
>
> Works great. I installed it according to the SE post. Here’s how the
> command
> looks in the Automator workflow:
>
> PATH=/usr/local/bin:$PATH 9 fmt -w 72
Out of curiosity, how did you install the Plan 9 stuff? It's not in
Homebrew, and while I can build it all I'd rather not…
--Steve Bellovin, https://www.cs.columbia.edu/~smb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20201225/ac27deb6/attachment.htm>
More information about the mailmate
mailing list