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:
In reply to Re: Using grep to find "/<file system"
by hbm
in thread Using grep to find "/<file system"
by boneman147
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |