linux 中printf的使用
printf "helloworld\n"
printf 中换行必须加上\n


printf '%d %s\n' 1 "abc"
chenxy@ubuntu:~/linux$ a=2
chenxy@ubuntu:~/linux$ printf 'a is %s\n' $a
a is 2

使用printf结合变量的使用

相关文章:

  • 2022-02-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
猜你喜欢
  • 2021-10-01
  • 2021-05-18
  • 2021-11-01
  • 2022-01-15
  • 2021-11-21
相关资源
相似解决方案