The Linux command refers to SEQ

Source: Internet
Author: User

seqproduces an integer sequence. Usage:1, Seq 5with only one numeric argument followed, the number represents the number of terminations, the default number is 1, and the step size is 1. 2, SEQ 4 8followed by two numeric parameters, the first number represents the starting number, the second number indicates the number of stops, and the step is the default of 1. 3, SEQ 10 5 40followed by three numeric parameters, the first number represents the starting number, the second number represents the step, and the third number indicates the number of terminations.
In the above three methods, if the terminating number is smaller than the starting number, then nothing is returned, and if the followed parameter is not a floating-point, an error is returned.
Parameter-s Specifies the separator, which is/n by default.Seq-s---25-W all digits equal length. The position of insufficient digits is filled with 0. seq-w 1- F%g Specifies the format, default is%g, valid input is%e and%fwhere%e seems to be calculated using scientific notation%f can specify a higher precision, a larger length of the number, and can specify the precision, the specific rules are unclear. Like%1.f,%.1f .

The Linux command refers to SEQ

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.