B
badkmail
Using Perl, I want to search for a binary data containing & and
alphabets and replace with another string. I am getting an error as
put below:
bash-3.2# echo fsdalf&l91Afjkdf | perl -p -e 's/l91A/l2A/g;'
[1] 11326
fsdalf
bash: l91Afjkdf: command not found
[1]+ Done echo fsdalf
bash-3.2#
My requirement is: I have a binary data which can contain any byte
from 0x00 to 0xFF. I want to search for particular set of characters,
say &A12B and replace it with another set of characters, say &A4B.
Please let me know how to do the same. Thanks in advance.
alphabets and replace with another string. I am getting an error as
put below:
bash-3.2# echo fsdalf&l91Afjkdf | perl -p -e 's/l91A/l2A/g;'
[1] 11326
fsdalf
bash: l91Afjkdf: command not found
[1]+ Done echo fsdalf
bash-3.2#
My requirement is: I have a binary data which can contain any byte
from 0x00 to 0xFF. I want to search for particular set of characters,
say &A12B and replace it with another set of characters, say &A4B.
Please let me know how to do the same. Thanks in advance.