getlinenum
max = getlinenum(++s);
LINENUM l = getlinenum(s);
p_ptrn_lines = (getlinenum(s)) - p_first + 1;
p_repl_lines = (getlinenum(s)) -