Subj : GETSTR
To : Digital Man
From : Willowolf
Date : Wed Jan 16 2002 11:00 pm
[Reply to]: GETSTR
[Typed by]: Digital Man to Willowolf on Thu Jan 17 2002
02:46 am
> > But, when the STR is printed, have it output all 40 characters, even
> > all aren't used. Is there a way to do this in Baja? So, instead of:
>
> printf "%40s" str
>
> -Rob
I knew there was a way! Thanks again Rob!
This works good, but it prints out the string after the spaces like so:
Name One - comment - hours
Name Two - second comment - hours
Name Three - third comment - hours
The '-' being the beginning of the next string.
Is there a way to have it print before the left over spaces liks so?:
Name One - comment - hours
Name Two - second comment - hours
Name Three - third comment - hours
Thanks,
\\/
---
� Synchronet � Wolf Grotto = Las Vegas, Nevada USA = wolfgrotto.darktech.org