7 lines
114 B
Bash
7 lines
114 B
Bash
#!/usr/bin/env bash
|
|
|
|
if [[ -x "$(command -v ddate)" ]]; then
|
|
ddate +'%{%A, %b %d%}'
|
|
else
|
|
date +'%A, %b %d'
|
|
fi
|