Bourne Shell Left Right Justify

前端 未结 6 1116
情深已故
情深已故 2020-12-18 14:31

I am trying to do some formatting on output data in a script and not positive how to do Left Right justify as well as width. Can anyone point me in the right direction?

6条回答
  •  -上瘾入骨i
    2020-12-18 15:13

    You're not being very clear, but the easiest way is probably to just use printf() (the shell command, not the C function of the same name).

提交回复
热议问题