Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
203 B

#!/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