Linear defects in two dimensional systems: a finite size investigation