Re: Script Help

From: Renison, Rick (rick.renison@EDS.COM)
Date: Tue Apr 08 2003 - 08:38:29 EDT


you can also use typeset to force a length.
typeset -R30 var1
will force car1 to be right justified for 30 characters
typeset -Z4 var2
will zero fill a number for 4 digits

> -----Original Message-----
> From: glh@DAIRYNET.COM [mailto:glh@DAIRYNET.COM]
> Sent: April 7, 2003 3:39 PM
> To: aix-l@Princeton.EDU
> Subject: Script Help
>
>
> I'm writing a script to display variable length information
> in a report.
> I'm having trouble lining up the variable length information
> in nice and
> neat columns. Is there a quick and simple way for me to do
> this? Thanks.
>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:43 EDT