[gull] apt-cache search libstdc sur ubuntu

Paul Bartholdi Paul.Bartholdi at unige.ch
Fri Jul 23 22:26:29 CEST 2010


2010/7/23 François Bianco <fbianco at swisslinux.org>

> Salut,
>
> Dommage, c'est pas un bug. Désolé de casser ton rêve ;-)
>
> En fait, c'est un problème d'expression régulière avec le "+", car si tu
> fais
>
> $ apt-cache search libstdc..5
> libstdc++5 - The GNU Standard C++ Library v3
>
> par contre, j'ai par trouvé comment échapper ce caractère un \+ ne
> fonctionne
> pas
>
> pour moi (Ubuntu 9.04) l'échappement
    $ apt-cache search 'libstdc\+\+5'
donne bien
     libstdc++5 - The GNU Standard C++ Library v3
il faut empecher l'échappement avant de passer le paramêtre à apt-cache.
Amitiés,     Paul

$ apt-cache search libstdc\+
>
> retourne un ligne avec
>
> libgmp3-dev - Multiprecision arithmetic library developers tools
>
> Un gourous des Regexp sur la ligne ?
>
> François
>
>
> Le vendredi 23 juillet 2010 17:20:26, BRINER Cédric a écrit :
> > salut les gars,
> >
> > # apt-cache search libstdc | grep 5
> > lib32stdc++5 - lib32stdc++5 shared libraries for use on amd64 and ia64
> > systems
> > libstdc++5 - The GNU Standard C++ Library v3
> >
> > tandis que
> > apt-cache search libstdc++5
> > ne me rend rien.
> >
> > qqun saurait-il me dire pourquoi ça ???
> > aurai-je trouvé un bug une fois dans ma vie ;P ou serais ce encore une
> > incompétence :(
> >
> > cED
> > P.-S- ubuntu 10.04, 64 bits
> > _______________________________________________
> > gull mailing list
> > gull at forum.linux-gull.ch
> > http://forum.linux-gull.ch/mailman/listinfo/gull
>
> --
> Swisslinux.org - Le carrefour GNU/Linux en Suisse -
> http://www.swisslinux.org
>
> _______________________________________________
> gull mailing list
> gull at forum.linux-gull.ch
> http://forum.linux-gull.ch/mailman/listinfo/gull
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum.linux-gull.ch/pipermail/gull/attachments/20100723/aba7a430/attachment.htm>


More information about the gull mailing list