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