[gull] apt-cache search libstdc sur ubuntu

François Bianco fbianco at swisslinux.org
Fri Jul 23 18:13:27 CEST 2010


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

$ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://forum.linux-gull.ch/pipermail/gull/attachments/20100723/5726682c/attachment.pgp>


More information about the gull mailing list