简介
在bash里冒号和躺着的冒号的用法不一样一定要注意别用错。文章来源:https://www.toymoban.com/news/detail-614984.html
躺着的冒号是两个点
难道正常的不是两个点)的作用:
A sequence expression takes the form {x…y[…incr]}, where x and y are either integers or single characters, and incr, an optional increment, is an integer. When integers are supplied, the expression expands to each number between x and y, inclusive. Supplied integers may be prefixed with 0 to force each term to have the same width. When either x or y begins with a zero, the shell attempts to force all generated terms to contain the same number of digits, zero-padding where necessary. When characters are supplied, the expression expands to each character lexicographically between x and y, inclus文章来源地址https://www.toymoban.com/news/detail-614984.html
到了这里,关于bash: 睡觉的冒号;是不是两个点?的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!