Вот пример файла:
somestuff... all: thing otherthing some other stuff
Я хочу добавить к строке, начинающейся с all:вот так:
all:
somestuff... all: thing otherthing anotherthing some other stuff