seq

command
v6.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Print a sequence of numbers.

Synopsis:

seq [-f FORMAT] [-w] [-s SEPARATOR] [START [STEP [END]]]

Examples:

% seq -s=' ' 3
1 2 3
% seq -s=' ' 2 4
2 3 4
% seq -s=' ' 3 2 7
3 5 7

Options:

-f: use printf style floating-point FORMAT (default: %v)
-s: use STRING to separate numbers (default: \n)
-w: equalize width by padding with leading zeroes (default: false)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL