seq 序列用法:
seq 【option】...last
seq 【option】...first last
seq 【option】...first increment last
例如:seq 5 //1-5

seq 2 5 //2-5

seq 1 2 10 //1-10 基数

seq 2 2 10 //1-10 偶数

-s指定序列的分隔符,横向展示
seq -s "=" 5

生成的序列追加的bqh.txt文件中:
seq 1 2 10 >bqh.txt

本文主要是介绍seq 序列,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
seq 序列用法:
seq 【option】...last
seq 【option】...first last
seq 【option】...first increment last
例如:seq 5 //1-5
seq 2 5 //2-5
seq 1 2 10 //1-10 基数
seq 2 2 10 //1-10 偶数
-s指定序列的分隔符,横向展示
seq -s "=" 5
生成的序列追加的bqh.txt文件中:
seq 1 2 10 >bqh.txt
这篇关于seq 序列的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!
http://www.chinasem.cn/article/1121122。
23002807@qq.com