All of the following commands assume that you are located in the appropriate score directory.
Which Brandenburg Concerto contains a horn part? Which movements from this concerto don't use the horn?COMMAND: grep '!!!AIN:.*cor' bwv*.krnThe -l option for grep restricts the output to the filenames only.
COMMAND: grep -l '!!!AIN:.*cor' bwv*.krn
ANSWER: BWV 1046 (Concerto No. 1)