On Friday 10 September 2004 15:31, Daniel Cordey wrote:
> On Friday 10 September 2004 15:21, Blaise Drayer wrote:
> > ?[]/\=+<>;:",|*
>
> Exemple (de fichier contenant jsutement toutes ces "horreurs")
>
> echo 'aa?[]/\=+<>;:",|*' | tr '[?\[\]/\\=+<>;:",|*]' '[12345678pqrstuvw]'

Pardon ! la syntaxe des arguments de tr doivent etre :

 tr '?\[\]/\\=+<>;:",|*' '12345678pqrstuvw'

le resultat sera alors :

 --> aa12345678pqrstuv

... trop l'habitude d'utiliser les [] dans tr...

Daniel



_______________________________________________
gull mailing list
[EMAIL PROTECTED]
http://lists.alphanet.ch/mailman/listinfo/gull

Répondre à