Created
September 2, 2016 21:04
-
-
Save mLuby/98c481ccd1abcc528eb45f7145ae2482 to your computer and use it in GitHub Desktop.
sed newline
This file contains 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
# in data2.js replace , with ,\n then dump into data.js | |
cat data2.js | sed -e 's/,/,\'$'\n/g' > data.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment