seq用法
2016-01-02 21:41
281 查看
NAME
seq - print a sequence of numbers
SYNOPSIS
seq [OPTION]… LAST
seq [OPTION]… FIRST LAST
seq [OPTION]… FIRST INCREMENT LAST
DESCRIPTION
Print numbers from FIRST to LAST, in steps of INCREMENT.
If FIRST or INCREMENT is omitted, it defaults to 1. That is, an omitted INCREMENT defaults to 1 even when LAST is smaller than FIRST. FIRST, INCREMENT, and LAST are interpreted as floating point values. INCREMENT is usually positive if FIRST is smaller than LAST, and INCREMENT is usually negative if FIRST is greater than LAST. FORMAT must be suitable for printing one argument of type `double’; it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point decimal numbers with maximum precision PREC, and to %g otherwise.
seq - print a sequence of numbers
SYNOPSIS
seq [OPTION]… LAST
seq [OPTION]… FIRST LAST
seq [OPTION]… FIRST INCREMENT LAST
DESCRIPTION
Print numbers from FIRST to LAST, in steps of INCREMENT.
-f, --format=FORMAT use printf style floating-point FORMAT -s, --separator=STRING use STRING to separate numbers (default: \n) -w, --equal-width equalize width by padding with leading zeroes --help display this help and exit --version output version information and exit
If FIRST or INCREMENT is omitted, it defaults to 1. That is, an omitted INCREMENT defaults to 1 even when LAST is smaller than FIRST. FIRST, INCREMENT, and LAST are interpreted as floating point values. INCREMENT is usually positive if FIRST is smaller than LAST, and INCREMENT is usually negative if FIRST is greater than LAST. FORMAT must be suitable for printing one argument of type `double’; it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point decimal numbers with maximum precision PREC, and to %g otherwise.
相关文章推荐
- Zabbix添加自定义监控项
- <七>Drawables的使用(一)
- iOS开发-消息转发
- 单例模式
- 如何学习ios(摘自知乎https://www.zhihu.com/question/20016551)
- LeetCode笔记:Convert Sorted Array to Binary Search Tree
- mysql的基本操作
- BestCoder Round #68 (div.2) 总结
- 在Centos配置hadoop用户无密码sudo权限
- IOS UI基础控件总结
- Javascript显示和隐式类型转换
- Nancy 引用源码与NuGet安装差异
- Java代码显示昨天当前时刻
- ckfinder + ckeditor 路径配置详解
- vps折腾之旅
- 仲恺ACM 1075:笨鸟先飞【java】
- hibernate.cfg.xml的常用配置
- python coding style guide 的快速落地实践
- HDU 5607 graph 矩阵快速幂 + 快速幂
- TMS320F28335时钟(3) -----总结