Bug 16770 - `gettext' doesn't add a newline to the output
Summary: `gettext' doesn't add a newline to the output
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gettext (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-20 00:33 MSD by Ivan Zakharyaschev
Modified: 2008-09-05 02:13 MSD (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.