Last active
April 10, 2018 15:50
-
-
Save cdolek/244aabc843cefb3517c28e70d1fa8c12 to your computer and use it in GitHub Desktop.
replacing value of a column 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
# Here we replace col 4 with the value of 1 | |
awk -F, '{$4="1";}1' OFS=, my.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment