I have a file with hex codes. Example:
my $O1ol1ooI = "";
my $lOI100 = "";
my $oO10OI0 = 99;
my @olIIO1 = `df -h`;
chomp(my $I0110 = `hostname`);
foreach (@olIIO1) {
if (m/(\d+)% (.*)/ && $1 > $oO10OI0) {
$lOI100 = "\x66\x75\x6C\x6C";
}
}
my $O1ol1ooI = "";
my $lOI100 = "";
my $oO10OI0 = 99;
my @olIIO1 = `df -ih`;
chomp(my $I0110 = `hostname`);
foreach (@olIIO1) {
if (m/(\d+)% (.*)/ && $1 > $oO10OI0) {
$lOI100 = "\x66\x75\x6C\x6C";
}
}
if ($ol0IOoO eq "\x2D\x2D\x64\x65\x62\x75\x67\x3D\x6F\x6E") {
$OloOlOlII->show_progress;
}
What i need is a regex to be able to extract the hex codes from this file like \x66\x75\x6C\x6C
, \x66\x75\x6C\x6C
and etc.
Note: The file is so much longer.
Thanks in advance