Bug#806581: libstring-expand-perl: missing (wrongly expaned?) word in long description

gregor herrmann gregoa at debian.org
Sun Nov 29 13:19:39 UTC 2015


On Sun, 29 Nov 2015 12:43:36 +0100, Jonas Smedegaard wrote:

> > Or "displaying tools". Where do you see the sentence like this?
> > debian/control in git looks like this:
> > 
> >  String::Expand implements utility functions for expanding embedded variables
> >  in a string. Variable references are embedded in strings in a similar form to
> >  the Bourne shell, namely, in the form $NAME or ${NAME}. In the former case,
> > 
> > I can reproduce the missing word when building the package and
> > calling debc.
> 
> I saw it in aptitude in fullscreen mode, and that corresponds with 
> representation of the text at 
> https://packages.debian.org/en/sid/libstring-expand-perl

Ah, thanks.
 
> the ${NAME} syntax was _exactly_ what I suspected: That syntax is 
> expanded¹ by packaging tools.  

> ¹ Used most often for e.g. ${misc:Depends} but also applies within long 
> description - see fonts-noto for an example where statistics gathered at 
> build time is included in long description.

Yes, but that's dpkg-gencontrol etc. during _build_; there's no good
reason IMO to do variable substitution when _displaying_ the text.

> To preserve, escape the dollar:
> 
> > [...] namely, in the form $NAME or \${NAME}.
> 
> ...or perhaps \{ does the trick, not quite sure...

Yup, trying something like this might make more sense than to find
out which tools display it incorrectly.

Does anybody know which version pleases most tools?
 

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Schmetterlinge: Die schlesischen Weber - H.Heine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20151129/1d32856e/attachment.sig>


More information about the pkg-perl-maintainers mailing list