Scripting question

Jim Murphy friartek at stargate.chicago.il.us
Wed Nov 6 12:15:26 PST 2002


On Wed, Nov 06, 2002 at 08:01:44PM -0500, Bryan Breen wrote:
> At 13:52 11/6/02 -0600, Jim Murphy wrote:
> He needs the months to be two digits, so you should change a little bit:

Not true.  That's what the the typeset statement is for.

	typeset -Z2 mo day yr

Adds leading zeros.

zsh and ksh both have this ability.

Jim

-- 
Jim Murphy
email: friartek at stargate.chicago.il.us
Linux - Debian/FloppyFW/LFS/RedHat

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list