Abhishek Dave schreef:
Hello ,
i am sticking with a problem to replace all words of a file in such a =
manner that the first and second word need to interchanged.
some thing like ...
10 11 2 20001
so that the output file will be
11 1 20001 2
any helpful regex ??
ieveke- sleurt Pietje eens mee de bosjes
in om er donder en bliksem mee te maken...*rr*
Thanks for any help, H.
--
Hendrik Maryns
Interesting websites:
www.lieverleven.be (I cooperate)
www.eu04.comEuropean Referendum Campaign
aouw.orgThe Art Of Urban Warfare
--
To
Gomez, Juan schreef:
Single quotations?
Those are for Unix/Linux perl only
For windows we have to stick to double qoutation marks
--well that's what I remmeber from quigley's book (Perl by example)
:o)
Indeed, read perldoc perlrun, especially the part about #!
H.
--
Hendrik Maryns
I
$words[3]' for 1, 3, 0, 2;
The eval is required because you can only set $_ to a constant
value.
Nice one! I even think I understand it :-p
Shouldn't there be a ; after [3]? But no, let me guess: you don't need
to type the last ; of your program?
H.
--
Hendrik Maryns
In
John W. Krahn schreef:
Hendrik Maryns wrote:
Kevin Horton schreef:
What kind of line endings does the file have? If I recall correctly,
I ran into a problem where perl did not recognize classical Macintosh
line endings as ending a line. It thought the whole file was one
line, until I
John W. Krahn schreef:
Hendrik Maryns wrote:
Hi,
Hello,
I'm writing a little script for removing "rustle" from a log file from
chat channels, in order to do linguistic research on them. I took the
file and tied it with Tie::File, in order to easily acces it. This
probably isn&
Kevin Horton schreef:
At 11:08 -0800 6/3/05, John W. Krahn wrote:
Hendrik Maryns wrote:
Hi,
Hello,
I'm writing a little script for removing "rustle" from a log file
from chat channels, in order to do linguistic research on them. I
took the file and tied it with Tie::File, in
Hi,
I'm writing a little script for removing "rustle" from a log file from
chat channels, in order to do linguistic research on them. I took the
file and tied it with Tie::File, in order to easily acces it. This
probably isn't all necessary here, but I want to modify the file itself,
not writ
outdated, or do I have a problem?
Cheers, H.
--
Hendrik Maryns
Interesting websites:
www.lieverleven.be (I cooperate)
www.fuckforforest.com For the frustrated, though engaged fellow-men
www.eu04.comEuropean Referendum Campaign
aouw.orgThe Art Of Urba