Skip to content

Instantly share code, notes, and snippets.

@Vftdan
Created July 17, 2020 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vftdan/ed815e88b63f529fbc951351cf8eb5a1 to your computer and use it in GitHub Desktop.
Save Vftdan/ed815e88b63f529fbc951351cf8eb5a1 to your computer and use it in GitHub Desktop.
Break each line that is longer than 80 characters with sed. One line can be broken more than once.
sed 's/.\{80\}/\0\n/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment