M
max
Help
I have txt file with chr(9) in text, how to change chr(9) - horizontal tab
to chr(32)"space"
I have txt file with chr(9) in text, how to change chr(9) - horizontal tab
to chr(32)"space"
Quoth "max said:Help
I have txt file with chr(9) in text, how to change chr(9) - horizontal tab
to chr(32)"space"
Abigail said:max wrote:
!! I have txt file with chr(9) in text, how to change chr(9) - horizontal tab
!! to chr(32)"space"
I'd use 'tr'. But that isn't Perl.
Quoth Gunnar Hjalmarsson said:Why do you say that 'tr' is not Perl?
Abigail said:Gunnar Hjalmarsson wrote:
][ Abigail wrote:
][ > max wrote:
][ > !! I have txt file with chr(9) in text, how to change chr(9) - horizontal tab
][ > !! to chr(32)"space"
][ >
][ > I'd use 'tr'. But that isn't Perl.
][
][ Why do you say that 'tr' is not Perl?
$ which tr
/usr/bin/tr
$ which perl
/opt/perl/bin/perl
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.