about summary refs log tree commit diff
path: root/index.ms.do
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-06-16 00:34:05 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-06-16 00:34:05 +0200
commit2b6751edc9ef55c50153abbc5dc4ea84a772c08b (patch)
treeac6ac30024927235274ac2a4dcae2499f72b1cd5 /index.ms.do
parentd831434e95c6a3b33a8af04e630d34f078d26e4f (diff)
downloadspiewnik-trakt-2b6751edc9ef55c50153abbc5dc4ea84a772c08b.tar.gz
spiewnik-trakt-2b6751edc9ef55c50153abbc5dc4ea84a772c08b.zip
Nowe piosenki
Diffstat (limited to 'index.ms.do')
-rw-r--r--index.ms.do4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.ms.do b/index.ms.do
index 97609f7..085de60 100644
--- a/index.ms.do
+++ b/index.ms.do
@@ -3,6 +3,6 @@ redo-ifchange $(find piosenki -type f -name '*.txt')
 cat source.tmac > index.ms
 for f in `find piosenki -type f -name '*.txt' | sort`; do
   filename=$(basename $f .txt)
-  cp $f piosenki/$filename.ms
-  echo .SOURCE piosenki/$filename.ms >> index.ms
+  sed 'G' $f | grep -A1 . | sed 's/--//' > piosenki/.$filename.ms
+  echo .SOURCE piosenki/.$filename.ms >> index.ms
 done