Created
August 7, 2015 14:05
-
-
Save nickleeh/cac0ce7b9364989b3644 to your computer and use it in GitHub Desktop.
substitute space to comma using sed.
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
sed 's/^[[:blank:]]*//;s/[[:blank:]]\{1,\}/,/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment