#!/bin/sh ####################################################################### # Program Name: lastday # Purpose: display date of the last day of the current month # Written by: J. David Schronce ####################################################################### # Usage: # History: # Last Modified: # # cal | grep -v \^\$ | tail -1 | awk '{print $NF}'