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