vim 常用操作命令
发表
分类
Linux
shell 中如何输出 n 个连续字符
发表
分类
Linux
本文以输出 n 个空格为例,新建 demo.sh ,代码如下:
1 | #!/bin/bash |
运行输出如下:
1 | ➜ ~ sh demo.sh |