This is the mail archive of the
cygwin
mailing list for the Cygwin project.
locale(1) not POSIX compliant (easy to fix, patch almost included)
- From: Jens Schweikhardt <schweikh at schweikhardt dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 2 May 2011 18:32:36 +0200
- Subject: locale(1) not POSIX compliant (easy to fix, patch almost included)
hello, world\n
"locale -a" prints its output space padded, while POSIX specifies
<quote src="http://pubs.opengroup.org/onlinepubs/009695399/utilities/locale.html">
If any arguments are specified:
If the -a option is specified, the names of all the public locales
shall be written, each in the following format:
"%s\n", <locale name>
</quote>
There's a "%-15s" somewhere where a "%s" should be, it seems.
Regards,
Jens
--
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple