![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^2: PERL UNIX and strangeness and char conversionby Anonymous Monk |
on Jan 18, 2021 at 21:55 UTC ( #11127076=note: print w/replies, xml ) | Need Help?? |
OK! I THINK I GET IT perl -pe 'tr/\x93-\x94/"/' <INFILE >OUTFILE Inserts the " perl -pe 'tr/\x97/,/' <INFILE >OUTFILE Inserts the , perl -pe 'tr/\x91-\x92/'/' <INFILE >OUTFILE Croaks. If I insert "\" to escape the second ' IT STILL CROAKS! What is special about \x91 and \x92 in the above statement? At least I made progress this time...
In Section
Seekers of Perl Wisdom
|
|