Return to Snippet

Revision: 33636
at October 11, 2010 12:22 by powerthru

Initial Code
for FILE in *.csv; do
echo FILE = ${FILE}
awk 'FNR>6{print}' ${FILE} > stripped/${FILE}

Initial URL

Initial Description
This removes the first six lines from a set of .csv files and writes them to a subdirectory, using awk

Initial Title
strip lines from multiple files

Initial Tags

Initial Language