Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Eliminare caratteri indesiderati

6 views
Skip to first unread message

francesc...@gmail.com

unread,
Oct 13, 2016, 8:20:50 AM10/13/16
to
Ciao ragazzi

e' gia' un po' che purtroppo non gioco col Perl ed ora ho un problemino, e non ricordo come fare.

Ho una stringa, tipo, come sotto

drwxr-xr-x 2 andrea users 32768 13 ott 10.18 ^[[0m^[[40m.^[[0m/
drwxr-xr-x 5 andrea users 4096 13 ott 14.11 ^[[40m..^[[0m/
lrwxrwxrwx 1 andrea users 82 12 ott 16.54 ^[[31m10_Motori-passo-passo-driver.gif^[[0m

Come faccio a togliere le sequenze con l'ANSI color?
Anzi, con che Exp standard tolgo tutto e mi tengo solo il leggibile?

Grazie amici.

Andrea
0 new messages