Re: change chr(9) ?




Quoth Gunnar Hjalmarsson <noreply@xxxxxxxxx>:
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?

Because Abigail was referring to the tr(1) Unix utility, which is not
Perl. Perl derives its tr/// operator from the tr(1) utility.

Ben

--
I must not fear. Fear is the mind-killer. I will face my fear and
I will let it pass through me. When the fear is gone there will be
nothing. Only I will remain.
ben@xxxxxxxxxxxx Frank Herbert, 'Dune'
.



Relevant Pages

  • Re: Question about UNIVERSAL
    ... on objects inheriting from UNIVERSAL. ... Until now, I thought that, if Perl cannot find a method, it will look as ... Another "last chance" to look up for ... Fear is the mind-killer. ...
    (comp.lang.perl.misc)
  • Re: Focussed Product
    ... I guess that PHP and Perl have other goals than Delphi. ... I am not Borland's target customer either. ... "The fear of death is the most unjustified of all fears, ...
    (borland.public.delphi.non-technical)
  • Re: Compiled perl executable
    ... compile time option that would achieve this. ... I rather doubt it's related to perl version. ... Fear is the mind-killer. ...
    (comp.lang.perl.misc)
  • Re: how to enforce mutual exclusion in win32
    ... Perl script in win32. ... The Perl interpreter I use is ActivePerl. ... You can place explicit locks using the threads::shared ... Fear is the mind-killer. ...
    (comp.lang.perl.misc)
  • Re: Possible problem with Perl
    ... I have been having a problem with Perl. ... I am not sure if the seg fault is caused by my program or is a problem ... A segfault is always a bug in perl. ... Fear is the mind-killer. ...
    (comp.lang.perl.misc)