HP3000-L Archives

August 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Wed, 18 Aug 1999 21:49:26 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
Tony,

>Help I've got a CR/LF problem.

Quoting from my own posting (found in the archives ;-)

> Lane wrote...
> >We have a need to generate files that a PC can get using Samba. The vendors
> >program REALLY wants both CR & LF at the end of each line, not just the LF
> >that tobyte puts. Is there any quick and easy way to do this with standard
> >utilities?
>
> You might try the following to add or remove CR's...
>
> shell/iX: /bin/awk '{print $0 "\r"}' < posixfile > dosfile
>
> shell/iX: /bin/tr -d '\015' < dosfile > posixfile
>
> Lars "YMMV" Appel.

:-)

PS... Use /bin/tobyte -a or -at to convert MPE FA file to bytestream.

ATOM RSS1 RSS2