2016-10-05 19:25:29 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
test -r "$1"
|
|
|
|
|
export LC_ALL=C
|
2016-10-12 11:49:20 -04:00
|
|
|
changelog_date=$(sed -E -n '1s/^([0-9]{4}-[0-9]{2}-[0-9]{2}).*$/\1/p' "$1")
|
2016-10-05 19:25:29 -04:00
|
|
|
echo $(date -j -f %Y-%m-%d +"%e %B %Y" $changelog_date)
|