Created
April 18, 2015 13:08
-
-
Save ype/d9181723d1d16f7dbaf2 to your computer and use it in GitHub Desktop.
quick replaces headers in a csv file
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 -e '1s/.*\,\{,4\}/col1\,col2\,col3\,col4/g' some_file.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment