Created
June 2, 2017 18:26
-
-
Save cdolek/c932ee612bc1967b42ea51ce10f42b83 to your computer and use it in GitHub Desktop.
Add string to every line of 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
while IFS= read -r line; do echo "$line,string_I_would_like_to_add,some_other_string"; done < file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment