Shell scripting question

Paul Schmehl pauls at utdallas.edu
Mon Sep 12 12:42:52 PDT 2005


--On Monday, September 12, 2005 20:37:22 +0200 Frank Mueller - emendis GmbH 
<Frank.Mueller at 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 at utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/


More information about the freebsd-questions mailing list