Quote:
Originally Posted by jav
Looks like the forum somehow alters the script so it brokes. If someone can suggest a way of fixing that, I can give it a try.
|
paper888 have change
$/ = "\r\n"; # set input record separator
$\ = "\r\n"; # set output record separator
in to
$/ = "\n"; # set input record separator
$\ = "\r\n"; # set output record separator
and now it work !!
so i have try your script that convert .url into .idx
original file 0046.url i have a file similar to 0045.idx but with a little difference :-(
original
Code:
Glambda- CATIDX-eng/sf_40003.htm___
ID:I:2|POS:P:8|NAME:S:35|_:S:1
ûœ"R
0ûœ"R%æÅ=MAXWELL MOTORS (ROLLS-ROYCE) _
1üjw…íí7ROLLS-ROYCE MOTOR CARS MARBELLA _
2ý[;ÀÁ¦ÏROLLS-ROYCE MOTOR CARS MADRID _
3ý¦ûj'ÅXdJOHN MARTIN GROUP EDINBURGH DUNEDIN_
...
with your script
Code:
Glambda- CATIDX-eng/sf_40003.htm___
ID:I:2|POS:P:8|NAME:S:35|_:S:0
ûœ"R| >ÅO
0ûœ"R%æÅ=MAXWELL MOTORS (ROLLS-ROYCE)
1üjw…íí7ROLLS-ROYCE MOTOR CARS MARBELLA
2ý[;ÀÁ¦ÏROLLS-ROYCE MOTOR CARS MADRID
3ý¦ûj'ÅXdJOHN MARTIN GROUP EDINBURGH DUNEDIN
...
but i have to try if it work.