Red Hat Bugzilla – Bug 83207
Multiple grep|awk pipelines in /etc/rc.d/rc.sysinit inefficient
Last modified: 2014-03-16 22:33:58 EDT
Description of problem:
Repeated use of grep and awk in the same command pipeline, even though awk has
its own pattern-matching engine, is inefficient and looks unprofessional. This
occurs at lines 259, 298, 439 and 677 in /etc/rc.sysinit.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Suggest that pipelines are rewritten to use awk's pattern-matching capabilities.
I believe most of these as of roughly Red Hat Linux 9.