Bug 23167

Summary: What fixup is supposed to do
Product: [Retired] Red Hat Linux Reporter: Michal Jaegermann <michal>
Component: LPRngAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-02 18:22:26 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 Michal Jaegermann 2001-01-02 18:22:23 UTC
A fixup function from /etc/rc.d/init.d/lpd in LPRng-3.6.22-5 does not
seem to be doing anything in particular (it does change a time stamp
on its input files).  I am a bit at loss what it was supposed to be
doing.  Something of that sort?

  perl -pi -e 's/\\\s*$/\n/,s/:\s*$/\n/ unless /^\s*#/' input_file

Not that not running that harms anything, apparently.

Michal

Comment 1 Crutcher Dunnavant 2001-02-02 00:04:01 UTC
this was meant to translate old printtool generated printcaps of the form:

lpr|alias1\
:mx#0\
:sd=/var/spool/lpd

for BSD lpd to LPRng style, new printtool printcaps:

lpr|alias1
:mx#0
:sd=/var/spool/lpd