This entry is part 14 of 19 in the Bash-whacking series

Delete line containing foo

span class="st0">'/foo/d'

Delete last line