Created
September 5, 2018 18:08
-
-
Save empiricalthought/beeae21553dea373e4eccd51e950530c to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env awk -f | |
NR > 1 { | |
for (i = 1; i <= header_count; i++) { | |
print headers[i], $i | |
} | |
} | |
NR == 1 { | |
header_count = split($0, headers) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment