insert two lines after specific line in script bash code example Example: sed insert multiple lines after match sed '/cdef/r add.txt' input.txt