Re: Script Help

From: John Jolet (john.jolet@FXFN.COM)
Date: Mon Apr 07 2003 - 15:54:04 EDT


not sure how quick and simple, but the lenght of the data in $var2 is in
${#var2}...so you could say $padding = $column_length - ${#var2}, and then
print out $var1, $padding, $var2, etc.

-----Original Message-----
From: glh@DAIRYNET.COM [mailto:glh@DAIRYNET.COM]
Sent: Monday, April 07, 2003 2: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