I have file like this
libv lib11 BW1079 rem=bulk checkl=no force=yes
libv lib11 BW1560 rem=bulk checkl=no force=yes
libv lib11 BW1924 rem=bulk checkl=no force=yes
libv lib11 BW1947 rem=bulk checkl=no force=yes
libv lib11 BW1951 rem=bulk checkl=no force=yes
libv lib11 BW1960 rem=bulk checkl=no force=yes
libv lib11 BW1965 rem=bulk checkl=no force=yes
libv lib11 BW1968 rem=bulk checkl=no force=yes
libv lib11 BW2013 rem=bulk checkl=no force=yes
libv lib11 BW2021 rem=bulk checkl=no force=yes
libv lib11 BW1079 rem=bulk checkl=no force=yes
libv lib11 BW1560 rem=bulk checkl=no force=yes
libv lib11 BW1924 rem=bulk checkl=no force=yes
libv lib11 BW1947 rem=bulk checkl=no force=yes
libv lib11 BW1951 rem=bulk checkl=no force=yes
and i want to add following text after 10th line
echo "Please Remove the Tapes from the Library"
echo "Press enter when the tapes have been removed\c"
read
sleep 2
echo " Ejecting the next 10 Tapes"
Is there any way we can do with awk ?
libv lib11 BW1079 rem=bulk checkl=no force=yes
libv lib11 BW1560 rem=bulk checkl=no force=yes
libv lib11 BW1924 rem=bulk checkl=no force=yes
libv lib11 BW1947 rem=bulk checkl=no force=yes
libv lib11 BW1951 rem=bulk checkl=no force=yes
libv lib11 BW1960 rem=bulk checkl=no force=yes
libv lib11 BW1965 rem=bulk checkl=no force=yes
libv lib11 BW1968 rem=bulk checkl=no force=yes
libv lib11 BW2013 rem=bulk checkl=no force=yes
libv lib11 BW2021 rem=bulk checkl=no force=yes
libv lib11 BW1079 rem=bulk checkl=no force=yes
libv lib11 BW1560 rem=bulk checkl=no force=yes
libv lib11 BW1924 rem=bulk checkl=no force=yes
libv lib11 BW1947 rem=bulk checkl=no force=yes
libv lib11 BW1951 rem=bulk checkl=no force=yes
and i want to add following text after 10th line
echo "Please Remove the Tapes from the Library"
echo "Press enter when the tapes have been removed\c"
read
sleep 2
echo " Ejecting the next 10 Tapes"
Is there any way we can do with awk ?