Commit Graph

102 Commits

Author SHA1 Message Date
Michael Kerrisk b8a2e38e00 locale.5: ffix
Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 16:55:27 +02:00
Michael Kerrisk 35a2f8868e locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:32:27 +02:00
Marko Myllynen d8826256c6 locale.5: Fix country_isbn format
Both plain numbers and Unicode code points are used in glibc locales but checking the code reveals that country_isbn is handled like the rest of its category expect for country_num which was clarified earlier.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen 1f4f51b5b3 locale.5: Document class in LC_CTYPE
See e.g. the locale zh_CN and

http://en.cppreference.com/w/cpp/string/wide/towctrans
http://en.cppreference.com/w/cpp/string/wide/wctrans

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen 6077885a06 locale.5: Document default_missing
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen 4e3b0c16e1 locale.5: Document character transliteration
See e.g. da_DK for reference.

(Not sure should we actually provide an example here?)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen f863ce4f60 locale.5: Document map "totitle"
See e.g. locales/i18n for reference.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:38 +02:00
Marko Myllynen af7ad104e1 locale.5: Copy is not exclusive in LC_CTYPE and LC_COLLATE
See e.g. da_DK for reference.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:10 +02:00
Marko Myllynen 0ef30d8d20 locale.5: Document map to_inpunct, map to_outpunct
See e.g. fa_IR for reference.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:06 +02:00
Marko Myllynen 89257a53db locale.5: Document outdigit and alt_digits
See e.g. fa_IR for reference.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:01 +02:00
Marko Myllynen ae91a0d63c locale.5: Document charclass and charconv
See e.g. the locales ja_JP and ko_KR and

http://en.cppreference.com/w/cpp/string/wide/towctrans
http://en.cppreference.com/w/cpp/string/wide/wctrans

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:23:55 +02:00
Michael Kerrisk 8392a3b33f _exit.2, dup.2, execve.2, execveat.2, fallocate.2, fcntl.2, get_robust_list.2, getrlimit.2, mbind.2, memfd_create.2, mmap.2, open.2, ptrace.2, readv.2, select.2, sigaction.2, syscall.2, syscalls.2, truncate.2, utimensat.2, write.2, errno.3, exec.3, fclose.3, fexecve.3, fmemopen.3, fopencookie.3, getgrent_r.3, getline.3, getmntent.3, getpw.3, getpwent_r.3, getspnam.3, malloc_info.3, posix_fallocate.3, putgrent.3, shm_open.3, locale.5, proc.5: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-22 23:29:25 +01:00
Akihiro Motoki 6ba56b5cd0 locale.5: Correct variable name
I think "positive_sign" is used.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 07:54:02 +01:00
Michael Kerrisk 360d311681 Removed trailing white space at end of lines 2014-12-31 07:46:42 +01:00
Michael Kerrisk 0649afd45a localedef.1, adjtimex.2, clock_nanosleep.2, epoll_ctl.2, ioctl.2, madvise.2, open.2, posix_fadvise.2, prctl.2, restart_syscall.2, sched_setaffinity.2, select.2, semop.2, setsid.2, sgetmask.2, sigaction.2, sigreturn.2, splice.2, syscall.2, syscalls.2, tee.2, tkill.2, abort.3, cmsg.3, exp10.3, ftw.3, getopt.3, ilogb.3, memcmp.3, mq_open.3, pow.3, pthread_setschedparam.3, sigvec.3, sysconf.3, termios.3, tgamma.3, wordexp.3, locale.5, proc.5, resolv.conf.5, cp1251.7, credentials.7, fanotify.7, inotify.7, locale.7, man-pages.7, signal.7, unix.7, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-31 07:01:38 +01:00
Marko Myllynen 73d11aabbb locale.5: Fix miscoded character
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 20:32:16 +01:00
Michael Kerrisk 984bf8fc33 locale.5: Minor fixes to Marko Myllynnen's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 15:23:15 +01:00
Marko Myllynen f809007b99 locale.5: Describe the formats of values
locale(5) describes what a locale should define but doesn't
spell out how (in what format). The patch attempts to address
this, it also has few trivial additional enhancements.

* Reference to locale(7) for category descriptions.
* Clarify first_workday in NOTES a bit.
* Add upstream BZ reference for two missing LC_ADDRESS fields.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 15:18:21 +01:00
Michael Kerrisk bea08fec7e adjtimex.2, bind.2, cacheflush.2, clone.2, fallocate.2, fanotify_init.2, fanotify_mark.2, flock.2, futex.2, getdents.2, getpriority.2, getrlimit.2, gettid.2, gettimeofday.2, ioprio_set.2, kexec_load.2, migrate_pages.2, modify_ldt.2, mount.2, move_pages.2, mprotect.2, msgop.2, nfsservctl.2, perf_event_open.2, pread.2, ptrace.2, recvmmsg.2, rename.2, restart_syscall.2, sched_setattr.2, send.2, shmop.2, shutdown.2, sigaction.2, signalfd.2, syscalls.2, timer_create.2, timerfd_create.2, tkill.2, vmsplice.2, wait.2, aio_init.3, confstr.3, exit.3, fmemopen.3, fopen.3, getaddrinfo.3, getauxval.3, getspnam.3, isalpha.3, isatty.3, mallinfo.3, malloc.3, mallopt.3, psignal.3, pthread_attr_setinheritsched.3, qecvt.3, queue.3, rtnetlink.3, strerror.3, strftime.3, toupper.3, towlower.3, towupper.3, initrd.4, locale.5, proc.5, bootparam.7, capabilities.7, ddp.7, fanotify.7, icmp.7, inotify.7, ip.7, ipv6.7, netdevice.7, netlink.7, path_resolution.7, rtld-audit.7, rtnetlink.7, sched.7, signal.7, socket.7, svipc.7, tcp.7, unix.7, ld.so.8: srcfix: Update FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-21 16:47:44 -05:00
Michael Kerrisk ad5b45abe5 localedef.1, execve.2, fcntl.2, flock.2, lseek.2, open.2, open_by_handle_at.2, recvmmsg.2, sendmmsg.2, seteuid.2, setresuid.2, setreuid.2, setuid.2, statfs.2, syscalls.2, basename.3, catgets.3, getdate.3, getdirentries.3, getdtablesize.3, iconv.3, lockf.3, malloc_get_state.3, malloc_usable_size.3, matherr.3, mkdtemp.3, mkstemp.3, mq_close.3, mq_unlink.3, siginterrupt.3, system.3, locale.5, bootparam.7, environ.7, man-pages.7, signal.7, unicode.7, utf-8.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-13 17:15:44 +02:00
Marko Myllynen 0c2dbad182 locale.5: Clarify AM/PM settings a bit
localedef(1) complains if really undefined, should be empty instead.
Also: add some SEE ALSO references.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:12:36 +02:00
Marko Myllynen 95c24117a7 locale.5: Minor NOTES clarification
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:18:10 +02:00
Michael Kerrisk 956088f4af locale.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:01:33 +02:00
Michael Kerrisk 4b27f13b94 locale.5: Drop a garbled sentence
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:00:40 +02:00
Michael Kerrisk ee565781fe locale.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 16:58:49 +02:00
Marko Myllynen 756f4b9742 locale.5: Document glibc conventions regarding days and week
Based on existing practice and glibc community wiki page at
https://sourceware.org/glibc/wiki/Locales

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 16:58:49 +02:00
Marko Myllynen 0b501d4989 locale.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 15:24:49 +02:00
Michael Kerrisk 71ad8cf0cf locale.5: Note default value for 'first_workday'.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 13:41:25 +02:00
Marko Myllynen 11faa34803 locale.5: Correct the FILES section 2014-05-28 13:09:40 +02:00
Michael Kerrisk 8bd6afd616 locale.5: t_fmt_ampm is needed only for locales that employ AM/PM convention
Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 12:38:31 +02:00
Michael Kerrisk 5fc5fff38a locale.5: Minor fix in CONFORMING TO
Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 12:36:45 +02:00
Michael Kerrisk ee2d3ed6d4 locale.5: tfix
Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 12:34:11 +02:00
Michael Kerrisk 84f36a95c6 locale.5: Add brief descriptions of collating-element and collating-symbol
Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 12:29:12 +02:00
Michael Kerrisk a99f5c82a0 locale.5: Remove crufty reference to /usr/lib/nls/src
That file is nowhere to be found

Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 12:18:37 +02:00
Michael Kerrisk d5b2adc3b2 locale.5: srcfix: Add/update FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 09:38:26 +02:00
Michael Kerrisk 244b504c73 locale.5: Minor tweaks to 's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-26 10:16:11 +02:00
Marko Myllynen 6699fab510 locale.5: Document mon_grouping and grouping properly
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-26 10:16:11 +02:00
Michael Kerrisk 2f41dcabf1 locale.5: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-24 20:28:25 +02:00
Michael Kerrisk c33a849443 locale.5: Tweaks to Marko Myllynen's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-24 20:28:25 +02:00
Marko Myllynen b5d4168adf locale.5: Clarify LC_TIME/am_pm and LC_NAME keywords usage
am_pm should be defined only if AM/PM convention is used to signal
applications they should not try to print them when using them in
unwanted.

Same for all LC_NAME keywords expect for name_fmt which should be
always defined.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-24 20:28:25 +02:00
Marko Myllynen e6812b0dfd locale.5: Clarify lang_term / lang_lib
As noted by Keld Simonsen in the lib-locales@sourceware mailing
list:

    https://sourceware.org/ml/libc-locales/2014-q2/msg00008.html
    From: Keld Simonsen <keld at rap dot rap dot dk>
    To: Marko Myllynen <myllynen at redhat dot com>
    Date: Tue, 29 Apr 2014 17:02:09 +0200

    lang_term reflects ISO 639-2/T (terminology) codes, while
    lang_lib reflects ISO 639-2/B (bibliographic) codes.
    lang_term is preferred over lang_lib codes for locale names.
    There are 20 specific ISO 639-2/B codes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-24 20:28:25 +02:00
Michael Kerrisk 5589160a7e locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:23:06 +02:00
Yuri Kozlov 49b3d95508 locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:21:34 +02:00
David Prévot 5f7504ef28 locale.5: Minor fixes
Hi Michael,

Please find attach various minor fixes:
- consistency fixes;
- punctuation fixes;
- typo fixes;
- format fixes;
- usage fix;
- American spelling convention.

Regards

David

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-04 07:46:23 +02:00
Michael Kerrisk 52d06f483d fts.3, isalpha.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, strerror.3, strftime.3, strtol.3, strtoul.3, toupper.3, towlower.3, towupper.3, wcrtomb.3, wcsnrtombs.3, wcsrtombs.3, wcstombs.3, wctomb.3, locale.5, koi8-u.7, locale.7, uri.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 16:29:06 +01:00
Michael Kerrisk b4bde2e017 locale.5: SEE ALSO: add newlocale(3) + duplocale(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 14:12:47 +01:00
Michael Kerrisk e9f22b0ac0 Removed trailing white space at end of lines 2014-03-11 22:33:19 +01:00
Michael Kerrisk c9e3729bea locale.5: LC_MONETARY: document 'int_p_cs_precedes' and 'int_n_cs_precedes'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-04 13:06:12 +01:00
Michael Kerrisk 548fe9a5cc locale.5: LC_MONETARY: Document 'int_p_sign_posn' and 'int_n_sign_posn'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-04 13:06:12 +01:00
Michael Kerrisk 923b0843f2 locale.5: LC_MONETARY: document 'int_p_sep_by_space' and 'int_n_sep_by_space'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-04 13:06:12 +01:00