Difference between revisions of "Humdrum lab 5"

From CCARH Wiki
Jump to: navigation, search
(Replaced content with "This lab is about the wikifonia data. == Basic information == How many files ls *.krn | wc -l 6710")
(Basic information)
Line 7: Line 7:
 
     ls *.krn | wc -l
 
     ls *.krn | wc -l
 
     6710
 
     6710
 +
 +
How many have lyrics:
 +
 +
    grep -l "\*\*text" *.krn | wc -l
 +
    5460
 +
 +
How many have chords:
 +
 +
    grep -l "\*\*text" *.krn | wc -l
 +
    6282

Revision as of 17:11, 1 May 2018

This lab is about the wikifonia data.

Basic information

How many files

   ls *.krn | wc -l
   6710

How many have lyrics:

    grep -l "\*\*text" *.krn | wc -l
    5460

How many have chords:

    grep -l "\*\*text" *.krn | wc -l
    6282