Bug 23167 - What fixup is supposed to do
Summary: What fixup is supposed to do
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: LPRng
Version: 7.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-02 18:22 UTC by Michal Jaegermann
Modified: 2007-04-18 16:30 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-01-02 18:22:26 UTC
Embargoed:


Attachments (Terms of Use)

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


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