in order to isolate the last word in any line of a poem (to have a list of all rhymes), I put together several snippets of code obtaining this

```
awk '{print $NF}' input.txt | tr 'A-Z' 'a-z'  | tr -sc 'a-z' '\n' | rev |  sort | uniq | sort -d | rev

```

applying it to poems like this:

```
Se a ciascun l'interno affanno
Si leggesse in fronte scritto
Quanti mai, che invidia fanno
Ci farebbero pietà! 

```

I get

```
fanno
affanno
scritto
piet

```

As you can see, the word "**pietà**" lacks of accented character. I guess this depends from having not tr UTF-8 capabilities. Is there any replacement for tr able to perfprm the same task in this one liner, but retaining UTF-8 accented characters?