L
laredotornado
Hello,
I'm on Solaris and trying to use a Perl command to replace some
untypeable charcters in a text document. When I open the document in
"vi", I see a couple of strange characters -- "~Q" (a single character,
not the combination of "~" and "Q") and "~R". How do I find out the
hex codes for these characters, and then how do I use the following
command
perl -pi -e 's/pattern_to_search/pattern_to_replace/g' myfile.txt
to replace them?
Thanks, - Dave
I'm on Solaris and trying to use a Perl command to replace some
untypeable charcters in a text document. When I open the document in
"vi", I see a couple of strange characters -- "~Q" (a single character,
not the combination of "~" and "Q") and "~R". How do I find out the
hex codes for these characters, and then how do I use the following
command
perl -pi -e 's/pattern_to_search/pattern_to_replace/g' myfile.txt
to replace them?
Thanks, - Dave