cringe
This commit is contained in:
parent
dfae0050af
commit
d0026761b7
2 changed files with 0 additions and 12 deletions
Binary file not shown.
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue