Commit d0026761 authored by rinpatch's avatar rinpatch
Browse files


parent dfae0050
Pipeline #9594 passed with stages
in 4 minutes and 57 seconds
lstr=`ls -A1 *.md`
readarray -t lsarr <<<"$lstr"
for i in "${lsarr[@]}"
echo $i
title=`echo $i | sed 's/-/\ /g' | sed 's/\.md//g'`
echo $title
echo -e "# $title\n$(cat $i)" > $i
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment