ZOSOpenTools / meta

Meta repository to tie together the various underlying z/OS Open Source tools (ZOT) repositories here
https://zosopentools.github.io/meta/
Apache License 2.0
37 stars 26 forks source link

zopen query -d --remote-search displays incorrect info for Quality #615

Open gngrossi opened 7 months ago

gngrossi commented 7 months ago

image

IgorTodorovskiIBM commented 7 months ago

@DevonianTeuchter it seems that using the %s format specifier affects the colorizing:

~          # orig:   printf "${NC}%s%-${colwidth}s${NC}" "$(colorizepct "${percentage}")" "${percentage}%"
              printf "${NC}$(colorizepct "${percentage}")%-${colwidth}s${NC}" "${percentage}%"

Colors render if I emed it in the format string.

DevonianTeuchter commented 7 months ago

+1 to embedding it!