Difference between revisions of "Humdrum lab 5"

From CCARH Wiki
Jump to navigation Jump to search
(Replaced content with "This lab is about the wikifonia data. == Basic information == How many files ls *.krn | wc -l 6710")
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