pavithra123
IS-IT--Management
Hi all,
I have a file with entries like below
0000000000000070000
0000000000000800000
0000000000000009000
0000000000000000000
0000000000000060000.
I am using sed to separate these entries
in the sed commands template file I have entries like below
/00000070000/!d
/00000060000/!d
assuming that this will delete other lines except
0000000000000070000
0000000000000060000.
But this is not happening because this entry /00000070000/!d
will delete other entries also.
so i put the braces like
{
/00000070000/!d
/00000060000/!d
} but still the same result. So How do I get only 0000000000000070000
0000000000000060000 enties separately.
any help is greatly appreciated.
Best Regards
Prem.
I have a file with entries like below
0000000000000070000
0000000000000800000
0000000000000009000
0000000000000000000
0000000000000060000.
I am using sed to separate these entries
in the sed commands template file I have entries like below
/00000070000/!d
/00000060000/!d
assuming that this will delete other lines except
0000000000000070000
0000000000000060000.
But this is not happening because this entry /00000070000/!d
will delete other entries also.
so i put the braces like
{
/00000070000/!d
/00000060000/!d
} but still the same result. So How do I get only 0000000000000070000
0000000000000060000 enties separately.
any help is greatly appreciated.
Best Regards
Prem.