Re: Efficient Formatting

2004-07-21 Thread John W . Krahn
On Wednesday 21 July 2004 10:52, Kent, Mr. John \(Contractor\) wrote: > > Greetings, Hello, > Want to print out a formattted line of numbers > > Is there a way to avoid having to: > >printf "%8d %8d %8d . ten times",$num1,$num2,$num3, ... , > > $num10; ? > > Something like > printf "%8d" * 10

Re: Efficient Formatting

2004-07-21 Thread Randal L. Schwartz
> "John" == John \ Kent <[EMAIL PROTECTED]> writes: John> Something like John> printf "%8d" * 10, @numray; printf "%8d " x @numray, @numray; That's even in the answers of the llama book. You need a llama book. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095

RE: Efficient Formatting

2004-07-21 Thread Ed Christian
Kent, Mr. John (Contractor) wrote: > Greetings, > > Want to print out a formattted line of numbers > > Is there a way to avoid having to: > >> printf "%8d %8d %8d . ten times",$num1,$num2,$num3, ... , >> $num10; ? > > Something like > printf "%8d" * 10, @numray; > How 'bout: printf "%8d

Efficient Formatting

2004-07-21 Thread Kent, Mr. John \(Contractor\)
Greetings, Want to print out a formattted line of numbers Is there a way to avoid having to: >printf "%8d %8d %8d . ten times",$num1,$num2,$num3, ... , $num10; ? Something like printf "%8d" * 10, @numray; Thank you, John Kent -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co