Deleting leading spaces is not working in Bash

后端 未结 0 453
刺人心
刺人心 2020-12-01 17:32

I have a string in Bash which may or may not start with any number of leading spaces, e.g.

"  foo bar baz"
" foo bar baz"
"foo bar ba         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题