I've got file with structure (digits are number of line (non existant in real)):
1: blah blah=xx blah blah xx
2:
3: blah blah xx
4: blah blah xxxx
5:
EOF
where x is my data. Now i use:
$bufor = fscanf ( $fd, "blah blah=%d (...)\n\n");
list ( $v1,$v2) = $bufor;
$bufor = fscanf ( $fd, "blah blah %d\n\n");
list ( $v3) = $bufor;
now i've got a problem: fscanf don't want to scan 3-rd line although i give \n\n... what is wrong ? (when i removed 2-nd line all was ok)... I cannot remove 2-nd line in file becouse it isn't produced by my program (or simlar software). I must use this empty line...
thanx for any help