Um, OK, thanks for your reply. I should have been clearer. I need something that could work in * any * POSIX shell - MPE, NT, or UNIX itself, without using something like awk or perl (but do you * really * want to know why?). Is this doable? > -----Original Message----- > From: [log in to unmask] > [SMTP:[log in to unmask]] > Sent: Tuesday, August 04, 1998 8:10 AM > To: Stigers, Greg ~ AND > Cc: [log in to unmask] > Subject: [HP3000-L] shell scripts for date calcs > > There is an MPE/iX command file named "TODAY" at <snip>