[Chester LUG] Help with a bash script
David Holden
dh at iucr.org
Fri May 16 11:20:00 UTC 2008
On Friday 16 May 2008, David Holden wrote:
> On Thursday 15 May 2008, Stuart Burns wrote:
> > Hi Everyone.
> >
> > I need a little help with a batch file. I have managed a bit of it, but
> > i'm a bit lost now.
> >
> > What I need to do is
> >
>
> x=`date +%H`
> y=`print "%03d" $x`
y=`printf "%03d" $x`
>
> echo $y
--
Dr. David Holden.
See: <http://www.gnu.org/philosophy/no-word-attachments.html>
regarding Word or PowerPoint. GPG key available on request.
-------------------------------------------------------------
More information about the Chester
mailing list