Created
September 21, 2016 16:32
-
-
Save dwallraff/647c8dc636b8ee2840d20264a8489545 to your computer and use it in GitHub Desktop.
Joins multiple lines and separates them with the string "<br />"
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
| sed ':a;N;$!ba;s/\n/<br \/>/g' # Joins multiple lines and separates them with the string "<br />". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment