dvorka/hstr

hstr --is-tiocsti

leapfog opened this issue · 0 comments

I read src/hstr_utils.c as if there shouldn't be a space character written, but sometimes there is:

$ for i in {0..999}; do hstr --is-tiocsti; done | tr -cd 'y'

sample output:

  yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy    yyyyyyyyy
yyyyyyyyyyyyyyyyyy  yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

And while src/include/hstr_utils.h says (in its comments), hstr --is-tiocsti would also reflect the availability in its exit code, the exit code always is 0.