pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit e7e2e87c22b15e44a05e48230a3d21026af9a56f
parent e259e7f257b0adcdfacc1ba09bd4c0b7a19f49b6
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 21 Jan 2022 16:25:01 +0000

Merge remote-tracking branch 'refs/remotes/origin/main'

Diffstat:
Mpyratelog.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyratelog.sh b/pyratelog.sh @@ -21,7 +21,7 @@ find_md=$(find entry/ -type f -name "*.md" | sort) for md in ${find_md} ; do # get the title and date from the filename - input=$(echo ${md} | cut -f2 -d '/' | cut -f1 -d '.') + input=$(echo ${md} | cut -f2 -d '/' | rev | cut -f2- -d '.' | rev) # cut the date and turn into epoch time input_date=$(echo ${input} | cut -f1 -d '-' )