#!/bin/bash
# '-'左对齐
printf "%-5s %-10s %-4s\n" No Name Mask
printf "%-5s %-10s %-4.2f\n" 1 Sam 80.77
printf "%-5s %-10s %-4.2f\n" 2 Jam 90.33
printf "%-5s %-10s %-4.2f\n" 3 Jeff 77.6
No Name Mask
1 Sam 80.77
2 Jam 90.33
3 Jeff 77.60
阅读(678) | 评论(0) | 转发(0) |