#!/bin/bash

  A="top-margin = 12 \mm"
  B="top-margin = 18 \mm"
  X="bottom-margin = 2 \mm"
  Y="bottom-margin = 4 \mm"

 # for i in N*/gtr*/b*
  for i in No-21/score/guitar2.ly
  do

    echo "Updating $i"
    sed -v -i 's/a\rest a\rest/a4\rest/g' $i 
#    sed -i 's/bottom-margin = 12/bottom-margin = 10/g' $i

  done
