[luau] Shell Script Help
Mike Ballon
calzonie at hotmail.com
Fri Jul 12 09:53:01 PDT 2002
To those that don't know me Aloha, to those that do how come nobody told me
about the new list :P
The scipt below works fine a Linux box but I need it work on my Solairs 2.7
box. Basically I just need a scipt that writes yesterday's date in the
format of yymmdd, thanks.
#!/bin/sh
# used to test date
TODAY=`date +%y%m%d`
echo $TODAY
echo "---"
#Get day ago
YESTERDAY=$(date --date "1 day ago" +%y%m%d)
echo $YESTERDAY
More information about the LUAU
mailing list