Bug 83207

Summary: Multiple grep|awk pipelines in /etc/rc.d/rc.sysinit inefficient
Product: [Retired] Red Hat Linux Reporter: Need Real Name <md_markopoulos>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: low    
Version: 7.3CC: rvokal
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-09-04 01:53:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2003-01-31 09:23:37 UTC
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):
initscripts-6.67-1

How reproducible:
N/A

Steps to Reproduce:
1.
2.
3.
    
Actual results:
N/A

Expected results:
N/A

Additional info:
Suggest that pipelines are rewritten to use awk's pattern-matching capabilities.

Comment 1 Bill Nottingham 2003-09-04 01:53:19 UTC
I believe most of these as of roughly Red Hat Linux 9.