View Single Post
Old 08-16-2013, 06:10 AM   #10
Junior Member
Location: Denmark

Join Date: Aug 2013
Posts: 1

I don't mean to revive a closed thread, just in case someone needs to know the number of lines in multiple compressed fastq files...

for file in *.bz2; do echo $file; b=$(bzcat $file | wc -l); echo $(($b/4)); done;
CGarde is offline   Reply With Quote