This commit is contained in:
Jesús 2019-04-09 11:08:26 -05:00
parent 333dfd6f52
commit 910cdbe80c
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

2
new.sh
View File

@ -24,7 +24,7 @@ tag="$REPLY"
# output # output
o_author=$(printf '%s%s\n' "Author: " "$author") o_author=$(printf '%s%s\n' "Author: " "$author")
o_category=$(printf '%s%s\n' "Category: " "$category") o_category=$(printf '%s%s\n' "Category: " "$category")
o_date=$(printf '%s%s\n' "Date: " "$(date +"%Y-%m-%d %I:%M")") o_date=$(printf '%s%s\n' "Date: " "$(date +"%Y-%m-%d %T")")
o_slug=$(printf '%s%s\n' "Slug: " "$slug") o_slug=$(printf '%s%s\n' "Slug: " "$slug")
o_tag=$(printf '%s%s\n' "Tags: " "$tag") o_tag=$(printf '%s%s\n' "Tags: " "$tag")
o_title=$(printf '%s%s\n' "Title: " "$title") o_title=$(printf '%s%s\n' "Title: " "$title")