in reply to Re^2: Wanted: humanly readable `script` output
in thread Wanted: humanly readable `script` output
This left behind a lot of funny things, which, to my eyes look like:#!/usr/bin/perl use strict; use warnings; open(FILE,"<","typescript") || die; while (my $line=<FILE>) { $line=~s/.\x08//g; $line=~s/\p{IsC}//g; print "$line\n"; } close(FILE);
characters.[00m, [01;34m, [01;35m, [m]0;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Wanted: humanly readable `script` output
by loris (Hermit) on May 05, 2008 at 06:23 UTC |
In Section
Seekers of Perl Wisdom