I have a find command that outputs as I would like (it looks for files with strelka in the name and ends with .vcf):
find . -name *strelka* | grep '.vcf$'
But I want to then iterate over each and perform additional stuff.
To simply experiment, I'm just having it do a line count on each file (but ultimately I would want to do more in the end, this is just me playing around), but it already doesn't seem to work.
I have :
for i in
find . -name \*strelka\* | grep '.vcf$'
; do wc -l $i; done
Anyone know what is wrong with this?