Bug 83207 - Multiple grep|awk pipelines in /etc/rc.d/rc.sysinit inefficient
Multiple grep|awk pipelines in /etc/rc.d/rc.sysinit inefficient
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
7.3
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-31 04:23 EST by Need Real Name
Modified: 2014-03-16 22:33 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-09-03 21:53:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2003-01-31 04:23:37 EST
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-03 21:53:19 EDT
I believe most of these as of roughly Red Hat Linux 9.

Note You need to log in before you can comment on or make changes to this bug.