This commit is contained in:
rinpatch 2019-03-28 20:13:22 +03:00
parent dfae0050af
commit d0026761b7
2 changed files with 0 additions and 12 deletions

Binary file not shown.

View File

@ -1,12 +0,0 @@
#!/bin/sh
lstr=`ls -A1 *.md`
readarray -t lsarr <<<"$lstr"
for i in "${lsarr[@]}"
do
:
echo $i
title=`echo $i | sed 's/-/\ /g' | sed 's/\.md//g'`
echo $title
echo -e "# $title\n$(cat $i)" > $i
done