#!/bin/ksh -p # Shell script to show date in English rather than computerese day=$(( $(date '+%d') % 100 )) wday=$( date '+%A' ) month=$( date '+%B' ) year=$( date '+%Y' ) daynum=$( awk 'NR == '$day `dirname $0`/odate2.dat ) echo "$wday the $daynum of $month, $year"