in reply to Using grep to find "/<file system"

The functional equivalent of your egrep:

perl -ne 'print if !m#^/(?:usr|sbin|platform|lib)$#' <file name>

You can write that many different ways; but here, I: