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