onetmt scrisse in data 30/05/2014 14:23:
grande!!! ma siccome non sempre è in UTF-16 questo comando dovrebbe risolvere tutti i miei problemi:non e' codice binario, ma parte del testo: $ file run.log run.log: Little-endian UTF-16 Unicode text, with CRLF, CR line terminators prova a usare questo: $ iconv -f UTF-16 -t UTF-8 run.log | grep "Method\ started" Method Method started: line# 1 at 100 inj# 1 16:19:35 04/23/13
iconv -f $(file --mime-encoding run.log | rev | cut -f1 -d\ | rev) -t UTF-8 run.log | grep "Method\ started"
Davvero ancora mille grazie Piviul