There is the parameter expansion ${name:#pattern} (pattern can be empty), which will work on elements of an array: a=('a' '' 'b' 'c') echo ...
確定! 回上一頁