diff --git a/bin/werclib.rc b/bin/werclib.rc index 0c43417..0a3d8b5 100644 --- a/bin/werclib.rc +++ b/bin/werclib.rc @@ -90,8 +90,8 @@ fn get_md_file_attr { sed -n '/^\* '$2': /p; /^\* '$2': /q; /^$/q' < $1 } -# File title extraction +# File title extraction fn get_md_title { #sed 's/^(................................................................[^ ]*).*$/\1/g; 1q' < $1 sed -n -e '1N; /^.*\n===*$/N; /.*\n===*\n$/!b' -e 's/\n==*\n//p' < $1