Skip to content

Instantly share code, notes, and snippets.


bradlucas/ Secret

Created Sep 19, 2016
What would you like to do?
# Echo the header lines for all the cvs files in the current directory
for filename in *.csv;
# echo $filename;
line=$(head -n 1 $filename);
echo $line;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment