diff options
Diffstat (limited to 'index.ms.do')
-rw-r--r-- | index.ms.do | 4 |
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 |