In ksh I use :Quote:> I have a need to print out mulitple spaces to fill out fields
> in fixed length records.
e.g.
$ a="this"
$ b="is"
$ c="a_test"
$ printf "%-10s %-10s %-10s\n" $a $b $c
this is a_test
$ man printf
In ksh I use :Quote:> I have a need to print out mulitple spaces to fill out fields
> in fixed length records.
e.g.
$ a="this"
$ b="is"
$ c="a_test"
$ printf "%-10s %-10s %-10s\n" $a $b $c
this is a_test
$ man printf
1. best korn shell resources and is there a korn shell faq
Hi there
Can you please tell some good resources for the kron shell on the web and
whether there is a korn shell faq.
thank you
Antony
2. ANNOUNCE: prepare for gcc 2.3 and libc 4.2
3. Removing spaces (RTRIM) in korn shell
4. Review of "Tricks of The Unix Masters"
5. strings with while space and the korn shell
7. Why does the Korn shell insert a space into my text?
8. Xwindows
9. Korn shell w/ multiple while loops
10. korn shell history in multiple sessions...
11. Printing negative numbers in Korn shell
12. Printing to Different Printers (Korn Shell)
13. Trying to run nohup from Korn shell but getting Bourne shell errors