When I execute
less package.rpm, less shows me all sorts of meta info about the package. What is less exactly doing - does it have built in code to be able to extract meta info, or is an rpm structured in a way that the first part just looks like a text file?
I would assume the former, since
head is not so helpful here. But to get to the real question: If I would like to
grep through this meta data less showing me, how can I accomplish this?