Last active
July 18, 2017 20:13
-
-
Save brunoluiz/8805e350303dfcd0bda277ed2059b0a1 to your computer and use it in GitHub Desktop.
concat-csv.sh
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
#!/bin/bash | |
head -1 $2 > $1 | |
for filename in ${@:2}; do sed 1d $filename >> $1; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment