Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

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   
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:

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):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

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.