David Bear wrote:
> 
> On Tue, Jun 24, 2003 at 10:58:39AM -0400, Ryan Novosielski wrote:
> > So what is the appropriate way to repair such a file before it gets to the
> > printer, then?
> 
> if indeed it is the extra cr chars, you could 
> 
> cat file | tr -d \r | ifhp
> 
> or something like that.  tr is fast...

But it had better be "tr -d \\r" or "tr -d '\r'", or the shell may eat
the backslash.

-- 
- Dave Lovelace
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to