In sed, is it possible to skip the first n lines when applying a regex? I am currently using the following:
sed
cat test | sed \'/^Name/d;/^--------
Yes, you can apply sed commands to ranges of lines with the N,M syntax. In this case you want something like this:
N,M
sed -e '2,$s/foo/bar/'
An example with delete:
sed -e '2,${ /^Name/d }'