#!/bin/sh
|
|
|
|
# Date format - see date(1):
|
|
FMT='+%A, %B %e, %Y'
|
|
|
|
# If given a date, use that one. Otherwise default to actual today.
|
|
|
|
if [ ! -z "$1" ]; then
|
|
date --date "$1" "$FMT"
|
|
else
|
|
date "$FMT"
|
|
fi
|