blob: 2c70b6323fed412ddf03964b30760a69b55fe2bf (
plain) (
tree)
|
|
#!/bin/sh
while true; do
number=$(date +'%d')
case $number in
1*)extension=th;;
*1)extension=st;;
*2)extension=nd;;
*3)extension=rd;;
*)extension=th;;
esac
date=$(date +"%A $(printf ${number##0}$extension) %B %Y -")
echo "date|string|$date"
echo ""
sleep 60
done
|