Revision: 33636
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 11, 2010 12:22 by powerthru
Initial Code
#!/bin/bash # for FILE in *.csv; do echo FILE = ${FILE} awk 'FNR>6{print}' ${FILE} > stripped/${FILE} done
Initial URL
http://www.unix.com/shell-programming-scripting/110496-awk-find-replace-multiple-files.html
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
Bash