From fc0cf164947dd712a52e12cdba281a068e0ee243 Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Thu, 13 Oct 2011 22:30:05 +0200 Subject: [PATCH] update script to get the songlist of the last volume --- utils/volume-3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/volume-3.sh b/utils/volume-3.sh index d1f07ab1..986fc873 100755 --- a/utils/volume-3.sh +++ b/utils/volume-3.sh @@ -10,7 +10,7 @@ ls -1 */*.sg > ../res1 cd .. #get volume 1 list -tail -n +12 volume-1.sb > tmp1 +tail -n +13 volume-1.sb > tmp1 head -n -2 tmp1 > list1 sed -i -e "s/\",//g" -e "s/ \"//g" -e "s/\"//g" list1 @@ -18,7 +18,7 @@ sed -i -e "s/\",//g" -e "s/ \"//g" -e "s/\"//g" list1 grep -vf list1 res1 > res2 #get volume 2 list -tail -n +13 volume-2.sb > tmp2 +tail -n +14 volume-2.sb > tmp2 head -n -2 tmp2 > list2 sed -i -e "s/\",//g" -e "s/ \"//g" -e "s/\"//g" list2