#!/bin/bash
# script to display a day of month suffix 
# adapted from user Closebox73

case $(date +%d) in
	01|21|31) echo "st";;
	02|22) echo "nd";;
	03|23) echo "rd";;
	*) echo "th";;
esac
