SED от начала до совпадения
sed '/[match]/q' file.txt
#Include q option at the end to grep untilmatch only
Armandres
sed '/[match]/q' file.txt
#Include q option at the end to grep untilmatch only