[BUG] ${#v} aborts string processing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another bug introduced by 3cd5386, and not fixed in current git.
String length expansion ${#v} aborts string processing.

$ ./dash -c 'v=abc; echo ab${#v}cd'
ab3

Expected output: ab3cd

Yes, you really need that regression test suite. I can help you start one off. Would you be willing to consider a patch to that effect?

- M.



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux