[ale] Bash scripting and printf

Daniel S Cox danny at ecweb.com
Tue Sep 15 13:56:26 EDT 1998


At 11:11 AM 9/15/98 -0500, Bob Kruger wrote:
>$ printf "Number of lines received:  %20s $lr \n\n "
>
>
>What I had to go to was this:
>
>$ printf "Number of lines received:  "
>$ printf "%20s" "%lr"
>$ printf "\n\n"

You might try:
$ printf "Number of line received:  %20s\n\n" $lr

Danny






More information about the Ale mailing list