[luau] Shell Script Help

al plant webmaster at hawaiidakine.com
Fri Jul 12 12:02:00 PDT 2002


Mike Ballon wrote:
> 
> 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
> _______________________________________________
> LUAU mailing list
> LUAU at videl.ics.hawaii.edu
> http://videl.ics.hawaii.edu/mailman/listinfo/luau
###################


Hi Mike,


Good to have you aboard again.

Aloha! Al Plant - Webmaster http://hawaiidakine.com
Providing FAST DSL Service for $28.00 /mo. Member Small Business Hawaii.
Running FreeBSD 4.5 UNIX & Caldera Linux 2.4 & RedHat 7.2
Support OPEN SOURCE in Business Computing. Phone 808-622-0043



More information about the LUAU mailing list