Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!aplcen!wb3ffv!fallst!tkevans From: tkevans@fallst.UUCP (Tim Evans) Newsgroups: comp.sources.wanted Subject: Re: daily backups Summary: set `date` Keywords: daily backups Message-ID: <1595@fallst.UUCP> Date: 28 Feb 90 11:59:32 GMT References: <118@comspec.UUCP> Distribution: na Organization: Fallston, MD Lines: 17 In article <118@comspec.UUCP>, rick@comspec.UUCP (Rick McCalla) writes: > I am trying to write a script that would determine what day of the week it is > and depending on the day perform a specific task. set `date` DAY=$1 case "$DAY" in Mon) do some commands;; Tue) do Tuesday commands;; Wed) do Wednesday commands;; etc;; esac -- UUCP: {rutgers|ames|uunet}!mimsy!woodb!fallst!tkevans INTERNET: tkevans@fallst.uu.net Tim Evans 2201 Brookhaven Ct, Fallston, MD 21047 (301) 965-3286