[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lettere accentate e comando tr




Il 19/01/2016 08:50, Marco Bodrato ha scritto:
> Buongiorno!
> 
> stamane mi sono imbattuto in un problema col comando tr, col quale vorrei
> "normalizzare" delle lettere accentate che ho in un file. Purtroppo ci
> deve essere qualche problema con le rappresentazioni...
> 
> In breve ottengo quanto segue:
> 
> $ echo "àèéìòù" | tr "àèéìòù" "aeeiou"
> ueuiuuuuuuuu

echo "à"|tr "à" "a"
aa

uhmmm...

> 
> Dipenderà dal terminale? dalla shell? da tr? Qualche suggerimento?
> 
> Grazie,
> m
> 


Reply to: