From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M6np4-0006Tr-TM for mharc-grub-devel@gnu.org; Wed, 20 May 2009 11:35:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6np2-0006PS-V8 for grub-devel@gnu.org; Wed, 20 May 2009 11:35:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6noy-0006El-Tv for grub-devel@gnu.org; Wed, 20 May 2009 11:35:12 -0400 Received: from [199.232.76.173] (port=60357 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6noy-0006EL-PT for grub-devel@gnu.org; Wed, 20 May 2009 11:35:08 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:59820) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6noy-0008BH-7G for grub-devel@gnu.org; Wed, 20 May 2009 11:35:08 -0400 Received: from [85.180.31.245] (e180031245.adsl.alicedsl.de [85.180.31.245]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MKv1o-1M6now3eGd-000jWp; Wed, 20 May 2009 17:35:07 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <1f29b8940905200743j4f8da5a8rf43fa7348878dc3a@mail.gmail.com> References: <1f29b8940905200743j4f8da5a8rf43fa7348878dc3a@mail.gmail.com> Content-Type: text/plain Date: Wed, 20 May 2009 17:35:06 +0200 Message-Id: <1242833706.3392.1.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18R/LWk2K/bBeYWGvDBSfLxWGkkHSy04faCsyu TkgOxvbEEekzmJWrWXyxfdg+INBZf6dT77+AXj70Whv3ZbeZle E+CLnNsFAkHtvkvUG+1RQ== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Datecheck command (date comparison) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 15:35:13 -0000 Am Mittwoch, den 20.05.2009, 09:43 -0500 schrieb Chris Umphress: > I've written a command that allows you to take different actions based > on the day. Would anybody else find it useful? Here are some of my > tests from yesterday: Hello, can't this just be done with the variables Bean introduced with his datehook stuff[0]? $YEAR, $MONTH, $DAY, $HOUR, $MINUTE, $SECOND and $WEEKDAY. Though I never used this myself. [0] http://lists.gnu.org/archive/html/grub-devel/2008-08/msg00274.html -- Felix Zielcke