Bug#806581: libstring-expand-perl: missing (wrongly expaned?) word in long description
Jonas Smedegaard
dr at jones.dk
Sun Nov 29 11:43:36 UTC 2015
Quoting gregor herrmann (2015-11-29 12:23:55)
> On Sun, 29 Nov 2015 10:52:33 +0100, Jonas Smedegaard wrote:
>> Probably the dollar in that word needs a bactick to not get
>> interpreted by packaging tools.
>
> 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
the ${NAME} syntax was _exactly_ what I suspected: That syntax is
expanded¹ by packaging tools. To preserve, escape the dollar:
> [...] namely, in the form $NAME or \${NAME}.
...or perhaps \{ does the trick, not quite sure...
- Jonas
¹ 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.
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20151129/e028e7cf/attachment-0001.sig>
More information about the pkg-perl-maintainers
mailing list