sed -i '' '3,6s/my/your/' pets.txt