Last active
March 3, 2023 15:19
-
-
Save DevGW/6c4e51a0453f87e223ea1cb401c09c9a to your computer and use it in GitHub Desktop.
shell :: prepend first line of one file to another #hha_ank
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
head -n 1 csv_file_with_header.csv | sed -i '1r/dev/stdin' csv_file_to_add_header_to.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment