How do I print all lines from the first line of a file up to and including the first matched line?
Is awk
better for this?
sed '/PATTERN/q' FILE
????-tip: jmlemetayer and Mikel
How do I print all lines from the first line of a file up to and including the first matched line?
Is awk
better for this?
sed '/PATTERN/q' FILE
????-tip: jmlemetayer and Mikel