Seq command summary Basic usage seq [option]... ending number seq [option]... sequence [option]... increment the ending number to print the number from the beginning to the ending number. Option:-f, -- format: use the floating point format of printf-s, -- sepa... seq command summary Basic usage seq [option]... ending number seq [option]... sequence [option]... increment the ending number to print the number from the beginning to the ending number. Option:-f, -- format = format: use the floating point format of printf-s, -- separator = String: Use the specified string to separate numbers (\ n by default)-w, -- equal-width: add 0 before the column to make the width the same. example: 1. display the big integer [plain] $ seq -- format = % 1.f 1000000 1000001 as much as possible to display the 1000000 1000001 comparison, without using -- format, by default, % g is used to display [plain] $ seq 1000000 1000001 display 1e + 06 1e + 06 2. show the same width number. if the number of digits is insufficient, use the leading 0 to fill the [plain] seq-w-s ''0 10 to display 00 01 02 03 04 05 06 07 08 09 10. note: -s is used to change the separator between words, and-w is used to ensure equal width display.
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