Definitive Guide to sed: Tutorial and Reference