Re: [PATCH] printf: add %#s alias to %b

2023-09-08 Thread Rob Landley
On 9/7/23 13:59, Eric Blake wrote: > now that Issue 8 has taken efforts to make it clear that sometimes the > shell deals with characters, and sometimes with bytes; in particular, > environment variables can hold bytes that need not always form > characters in the current locale). If they didn't t

[PATCH] fix [[ -t X ]] segfault

2023-09-08 Thread Grisha Levit
Since the change that made `test -t FD' report an error for non-numeric values of FD: $ [[ -t X ]] bash: [[: X: integer expected Segmentation fault Below patch wraps all [[ test execution in a new function that provides a jump target and returns an exit status usable directly by the cond_node cod