-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marco Ciampa wrote: > banale? Non sono un esperto di tr e chiamare in causa il perl per questa > cosa mi sembrava eccessivo... Io in genere faccio in due semplici steps: Il primo converte i caratteri accentati in sermplici con il tar Il secondo elimina i caratteri che non mi interessano: nomenuovo=$(echo $nomevecchio | tr 'àèéìòù' 'aeeiou' | \ sed 's/[^-a-zA-Z0-9._]/_/g' ) Ovviamente nel sed ci metti i caratteri che ti interessano, probabilmente più di quelli indicati nell'esempio. - -- Flavio Visentin GPG Key: http://www.zipman.it/gpgkey.asc There are only 10 types of people in this world: those who understand binary, and those who don't. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFcwTUusUmHkh1cnoRAp8WAKCDTLbrPvnD0CdAIp67b1l86aV12ACdGdMn QCis5RhshatwSbswMsBQLgY= =rw2M -----END PGP SIGNATURE----- -- Per iscriversi (o disiscriversi), basta spedire un messaggio con OGGETTO "subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx