Re: change chr(9) ?
- From: Abigail <abigail@xxxxxxxxxx>
- Date: 28 Feb 2007 20:49:01 GMT
Gunnar Hjalmarsson (noreply@xxxxxxxxx) wrote on MMMMCMXXIX September
MCMXCIII in <URL:news:54lqbqF21ebi0U1@xxxxxxxxxxxxxxxxxx>:
][ 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
Abigail
--
#!/opt/perl/bin/perl -- # Remove trailing newline!
BEGIN{$SIG{__WARN__}=sub{$_=pop;y-_- -;print/".*(.)"/;
truncate$0,-1+-s$0;exec$0;}}//rekcaH_lreP_rehtona_tsuJ
.
- References:
- change chr(9) ?
- From: max
- Re: change chr(9) ?
- From: Abigail
- Re: change chr(9) ?
- From: Gunnar Hjalmarsson
- change chr(9) ?
- Prev by Date: Re: Parent process unable to read messages from child process
- Next by Date: Re: Hash of arrays of hashes... There's got to be a cleaner way than this...
- Previous by thread: Re: change chr(9) ?
- Next by thread: Can't call method "Sql"... need help
- Index(es):
Relevant Pages
|