perl -sple 'BEGIN{open BIG};($1,$2)=split;seek(BIG,$1,0);read(BIG,$_,$2)' -- -BIG=bigfile.dat index.dat >outfile.dat
and I received the following:Modification of a read-only value attempted at -e line 1, <> line 1
Thanks,In reply to Re^6: Offset Reading - two files
by gio001
in thread Offset Reading - two files
by gio001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |