Linux commands refer to seq

Source: Internet
Author: User

Linux commands refer to seq
Seq generates an integer sequence. Usage: 1. If seq 5 is followed by only one numeric parameter, the number indicates the number of termination. The start number is 1 by default. The step size is 1.2, and seq 4 8 is followed by two numeric parameters, the first digit indicates the start number, and the second digit indicates the end number. The step size is the default value of 1. 3. seq 10 5 40 is followed by three numeric parameters. The first digit indicates the Starting number, the second digit indicates the step size, and the third digit indicates the ending number.
In the preceding three follow-up parameters, if the number of termination is smaller than the Starting number, nothing is returned. If the parameter is not a floating point number, an error message is returned.
The-s parameter specifies the delimiter. The default Delimiter is/n. Seq-s --- All numbers in the range of 2 to 5 W. Fill the position of the unfilled digits with 0. Seq-w 1 10 200-f % g specified format, default is % g, valid inputs include % e and % f. % e seems to be calculated using scientific notation. % f can specify numbers with higher precision and length, and can specify accuracy, the specific rules are unclear. For example, % 1.f, %. 1f

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.