fix bash
This commit is contained in:
@@ -67,9 +67,9 @@ for file in $(ls "$BLOG_DIR/posts"); do
|
|||||||
title=$(sed -n '3p' $target_file | tr -d '\n')
|
title=$(sed -n '3p' $target_file | tr -d '\n')
|
||||||
content=$(sed -n '4,$p' $target_file | tr -d '\n')
|
content=$(sed -n '4,$p' $target_file | tr -d '\n')
|
||||||
|
|
||||||
content=${1//&/&}
|
content=${content//&/&}
|
||||||
content=${s//'"'/"}
|
content=${content//'"'/"}
|
||||||
content=${s//"'"/‘}
|
content=${content//"'"/‘}
|
||||||
|
|
||||||
insert_post "$date" "$slug" "$title" "$content"
|
insert_post "$date" "$slug" "$title" "$content"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user