Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Strange function/pipestatus behavior, maybe a scope bug?



On Mac OS X, A05execution.ztst fails as

*** 1 ****
!    2048 0 0 0
--- 1 ----
! 2048 0 0 0
Test ./A05execution.ztst failed: output differs from expected as shown above for:
  repeat 2048; do (: | : | while false; do
                             break
                           done;
                   print "${pipestatus[@]}")
    ZTST_hashmark
  done | sort | uniq -c

i.e., number of spaces output by 'uniq -c' before the count is different.



Messages sorted by: Reverse Date, Date, Thread, Author