Hi! This bug is a show-stopper whenever one wants to set a field width with the %s format specifier. It has been reported quite some time ago and I cannot see any activity. Can this bug at least be forwarded upstream, please?
BTW, I experienced this bug while trying to center lines of text inside
an 80-column container:
$ echo 'hello world' | awk '{ w = int((80 + length())/2); printf "%" w "s\n",
$0; }'
hello world
$ echo 'hèllo wörld' | awk '{ w = int((80 + length())/2); printf "%" w "s\n",
$0; }'
hèllo wörld
Do you happen to know of a command-line tool that can read text lines
from stdin and write them centered to stdout?
Thanks for any help.
--
http://frx.netsons.org/doc/index.html#nanodocs
The nano-document series is here!
..................................................... Francesco Poli .
GnuPG key fpr == C979 F34B 27CE 5CD8 DC12 31B5 78F4 279B DD6D FCF4
pgpnY5ORK4ekY.pgp
Description: PGP signature

