Linux Archive

Linux Archive (
-   Debian dpkg (
-   -   Why `%s'? (

Jonathan Nieder 07-01-2010 05:21 PM

Why `%s'?
Hi Daniel,

Daniel Bock wrote:

> Why there's `%s' instead of '%s' in dpkg's messages?

It’s a historical thing[1]. On old terminals, the former looks
like ‘%s’ and the latter like ’%s’. dpkg is slowly moving away
from that[2]. doc/coding-style.txt explains:

On strings in code use simple or double quotes «'» «""». Not the unpaired
ones «`'». Strings marked for translation should only be fixed if there's
other changes to be done on them; otherwise we get unneeded fuzzies.


[1] Still encouraged by
but that is probably for historical reasons, too.

[2] e.g., see

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: 20100701172104.GA1873@burratino">

All times are GMT. The time now is 01:35 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.