in reply to
manipulating file contents
Have you even tried? Why don't you show us first before we solve this "basic task"?
You might want to take a look at regular expressions (
perldoc perlrequick
or
perldoc perlretut
)
$\=~s;s*.*;q^|D9JYJ^^qq^\//\\\///^;ex;print
Comment on
Re: manipulating file contents
Download
Code
Replies are listed 'Best First'.
Re^2: manipulating file contents
by
monkey-
(Initiate)
on Sep 28, 2005 at 23:11 UTC
Yes I have been trying. Been trying to use grep and sed. Basically I can do this: cat file.txt | grep 'Key.[
:alnum:
].0x[
:alnum:
]*' | cut -c 22-
So I was not shooting first with out reading. Sorry if it was "beneth" you to have asked for help on something that maybe "simple" to you.
[reply]
In Section
Seekers of Perl Wisdom