in reply to Wish to keep only those lines which start with letter s, and delete all other lines.
$ egrep -v ^s input-file [download]