Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2005 14:42:52 -0500
From:      Paul Schmehl <pauls@utdallas.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Shell scripting question
Message-ID:  <66253B97387DDE83CEB81DF1@utd59514.utdallas.edu>
In-Reply-To: <4325CAE2.3020906@emendis.de>
References:  <01A14A33D6971135F96609A2@utd59514.utdallas.edu> <4325CAE2.3020906@emendis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Monday, September 12, 2005 20:37:22 +0200 Frank Mueller - emendis GmbH 
<Frank.Mueller@emendis.de> wrote:

> To get the date in the right format you could simply use
>
> date +%H
>
That solves one-half of the problem.  I would still have to get the hour 
from the file into the correct format.  Otherwise I'll simply move the 
error message to a different variable.

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66253B97387DDE83CEB81DF1>