Created
March 3, 2013 16:17
-
-
Save anoved/5076718 to your computer and use it in GitHub Desktop.
Hard wrap text filter for BBEdit. Works better for generic data than the built-in "Hard Wrap" command, which attempts to interpret the text to wrap as a prose text, and therefore inserts line breaks at various places including punctuation characters and spaces.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
fold -w 80 < /dev/stdin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment