I
IJALAB
Hi,
My file is like
(20:34:08.747) Rx 48 bytes
<F0><00><10><00><05><18><00><73><1B><0D><00>
(20:34:08.810) Rx 48 bytes
open(FILE1, ">Text1.txt") || die "Can't open output file.";
while(<FILE1>)
{
s/*.*bytes //g;
print FILE1 ;
}
I am unable to achieve what I want. In the manual, it is given as $'
will print everything after the match string. but that also doesn't
work.
Also, I need to remove the angle brackets. I did the same thing
s/[<>]//g;
in vain.
can some one help me out?
-bala
My file is like
(20:34:08.747) Rx 48 bytes
<F0><00><10><00><05><18><00><73><1B><0D><00>
(20:34:08.810) Rx 48 bytes
retain the remaining string.I am trying to do the followingFrom a file(Text1.txt), I have to remove the text before 48 bytes and
open(FILE1, ">Text1.txt") || die "Can't open output file.";
while(<FILE1>)
{
s/*.*bytes //g;
print FILE1 ;
}
I am unable to achieve what I want. In the manual, it is given as $'
will print everything after the match string. but that also doesn't
work.
Also, I need to remove the angle brackets. I did the same thing
s/[<>]//g;
in vain.
can some one help me out?
-bala