3
0

param_expand_len.tests 184 B

123456789101112
  1. # make sure len parsing doesnt break arg count
  2. set --
  3. echo $# ${#}
  4. set -- aaaa bbb cc d
  5. echo $# ${#}
  6. echo ${#1} ${#2} ${#3} ${#4} ${#5} ${#6}
  7. unset e
  8. f=abc
  9. g=
  10. echo ${#e} ${#f} ${#g}