Bug 16770

Summary: `gettext' doesn't add a newline to the output
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: gettextAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P2 CC: evg, glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2008-08-20 00:33:05 MSD
gettext-0.17-alt3

info gettext 'gettext Invocation':

`-n'
     Suppress trailing newline.  By default, `gettext' adds a newline to
     the output.

but this is not so: 

[ivan@dell ~]$ LC_MESSAGES=ru_RU.KOI8-R gettext mc 'File'
Файл[ivan@dell ~]$
Comment 1 Dmitry V. Levin 2008-08-28 21:38:32 MSD
The gettext documentation is incomplete: this utility adds trailing newline only in echo mode (-s option).
Comment 2 Dmitry V. Levin 2008-08-30 03:30:15 MSD
Fixed documentation in 0.17-alt3-1-g0bcb308
Comment 3 Ivan Zakharyaschev 2008-09-05 02:13:54 MSD
Ok.