On 15/04/15 21:23, Mats Erik Andersson wrote:
> Hello there,
> 
> when 'gnulib-tool' is listing modules in bold type,
> it does so in a non-portable way. FreeBSD displays
> this failure, since its printf(1) is not accepting
> hexadecimally encoded characters. In fact, the POSIX
> manual page printf(1p) mentions octal encoding as
> the only valid mechanism. Patch follows.

This might be more portable again:

  bold_on=`tput bold 2>/dev/null || tput md 2>/dev/null | printf '\033[1m'`

Thought may be overkill.
I've applied your patch as is.

thanks!
Pádraig.

Reply via email to