Is there a method to apply a ruler to the text on the clipboard?
In the sense of wrapping at a particular length ?
pbpaste | fold -w 80 -s | pbcopy
UPDATE
Also, if the pbpaste | <process> | pbcopy
pattern is in the area of what you want, it might also be worth looking at the bash fmt
command as an element of the process.
Great. Thanks Rob – I’ll incorporate these suggestions.