From 845766cfb0e892c05e9517aafb1fd480c26f80cb Mon Sep 17 00:00:00 2001 From: Daniel Burrows Date: Sun, 20 Jul 2008 12:31:09 -0700 Subject: Document how aptitude handles double-quotes. Because of #260446, apt configuration values can't contain double-quotes, and so aptitude uses an ad-hoc escaping technique for them (using '' to represent a double quote). This is now documented in the files where it actually matters, which hopefully will prevent a recurrence of #483459. --- aptitude-defaults.bs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'aptitude-defaults.bs') diff --git a/aptitude-defaults.bs b/aptitude-defaults.bs index 33f8fcc3..794a2d76 100644 --- a/aptitude-defaults.bs +++ b/aptitude-defaults.bs @@ -1,6 +1,12 @@ // -*-c++-*- // // This file defines the names of sections known by aptitude for bs. +// +// Due to bug #260446, double-quotes (") cannot be backslash-escaped. +// For this reason, aptitude treats adjacent pairs of apostrophese('') +// as double-quotes: that is, the string "''" in a section description +// will be rendered as one double quote. No other characters are +// affected by this behavior. Aptitude::Sections { -- cgit v1.2.3