sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 6145428f6823a6d3ab4ab75af39acf1baa8b11b3
parent 8c55c581273eb46474ca8257df7c409daa0f2753
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Sat,  2 Jul 2016 08:59:37 +0200

tools/update_man_pages: Change ddate invocation to display holiday names as well

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

diff --git a/tools/update_man_pages.sh b/tools/update_man_pages.sh @@ -76,7 +76,7 @@ update_date() { old_date=$(head -1 man1/sbocheck.1 | cut -d' ' -f4- | rev \ | cut -d' ' -f4- | rev | sed 's/"//g') - new_date=$(ddate +"%{%A, %B %d%}, %Y YOLD") + new_date=$(ddate +"%{%A, %B %d%}, %Y YOLD%N - %H") for i in man1/*; do sed_file $i "s/$old_date/$new_date/g"