Deriving base port/package names

Ronald F. Guilmette rfg at
Fri Apr 8 02:47:58 UTC 2016

Given a list of all current FreeBSD ports/package, such as a (plain text
version) the list found here:

and assuming that all text past the ' -- ' has already been deleted
from each line, what would be a proper sort of sed command to extract
_just_ the port/package names, without the version numbers attached?

More information about the freebsd-ports mailing list