FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 07-01-2010, 05:21 PM
Jonathan Nieder
 
Default 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.

<http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html>

[1] Still encouraged by
http://www.gnu.org/prep/standards/html_node/Quote-Characters.html#Quote-Characters
but that is probably for historical reasons, too.

[2] e.g., see http://lists.debian.org/debian-dpkg/2009/09/msg00067.html


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100701172104.GA1873@burratino">http://lists.debian.org/20100701172104.GA1873@burratino
 

Thread Tools




All times are GMT. The time now is 11:29 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org