From 8fdc880780deafbfed754489547f3d42b292b3c4 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 16 Jun 2021 19:25:33 +0200 Subject: Akordy --- index.ms.do | 3 ++- spiewnik.ms | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/index.ms.do b/index.ms.do index 117d5a2..1ef3487 100644 --- a/index.ms.do +++ b/index.ms.do @@ -1,8 +1,9 @@ redo-ifchange $(find piosenki -type f -name '*.txt') +echo "" > index.ms for f in `find piosenki -type f -name '*.txt' | sort`; do filename=$(basename $f .txt) - sed 'G' $f | grep -A1 . | sed 's/--//' > piosenki/.$filename.ms + sed 'G' $f | grep -A1 . | sed 's/--//' | sed 's/^\(.*\)|\(.*\)/\.AKORDY "\1" "\2"/' > piosenki/.$filename.ms echo .so piosenki/.$filename.ms >> index.ms echo .br >> index.ms echo .bp >> index.ms diff --git a/spiewnik.ms b/spiewnik.ms index 8a7c2f6..18a7bdc 100644 --- a/spiewnik.ms +++ b/spiewnik.ms @@ -41,7 +41,12 @@ . SH "\\$*" .. . -. +.de AKORDY +\\$1 + +.sp -1.67 +\h'23'\\$2 +.. . .ds CH .ad c -- cgit 1.4.1