Whitespace change.
This commit is contained in:
parent
f6faca3ea9
commit
cb97e355bf
1 changed files with 1 additions and 1 deletions
|
|
@ -90,8 +90,8 @@ fn get_md_file_attr {
|
||||||
sed -n '/^\* '$2': /p; /^\* '$2': /q; /^$/q' < $1
|
sed -n '/^\* '$2': /p; /^\* '$2': /q; /^$/q' < $1
|
||||||
}
|
}
|
||||||
|
|
||||||
# File title extraction
|
|
||||||
|
|
||||||
|
# File title extraction
|
||||||
fn get_md_title {
|
fn get_md_title {
|
||||||
#sed 's/^(................................................................[^ ]*).*$/\1/g; 1q' < $1
|
#sed 's/^(................................................................[^ ]*).*$/\1/g; 1q' < $1
|
||||||
sed -n -e '1N; /^.*\n===*$/N; /.*\n===*\n$/!b' -e 's/\n==*\n//p' < $1
|
sed -n -e '1N; /^.*\n===*$/N; /.*\n===*\n$/!b' -e 's/\n==*\n//p' < $1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue