On Thu, Nov 11, 2004 at 10:07:30AM -0600, John Hasler wrote:
> Richard Lyons wrote:
> > Wouldn't
> > $ tr '\r\n' '\n' < dosfile > unixfile
> > do it?
>
> David Jardine wrote:
> > For me that doubles each newline, but I can't see why.
>
>
> >From the tr man page:
>
> SET2 is extended to l
Richard Lyons wrote:
> Wouldn't
> $ tr '\r\n' '\n' < dosfile > unixfile
> do it?
David Jardine wrote:
> For me that doubles each newline, but I can't see why.
>From the tr man page:
SET2 is extended to length of SET1 by repeating its last character as
necessary.
--
John Hasler
--
T
--- David Jardine <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 08, 2004 at 11:26:55PM +0100, Richard
> Lyons wrote:
> > Wouldn't
> >$ tr '\r\n' '\n' < dosfile > unixfile
> >
> > do it?
>
> For me that doubles each newline, but I can't see
> why. But
>
> $ tr -d '\r' < dosfile > unixf
On Tuesday 09 November 2004 00:00, David Jardine wrote:
> On Mon, Nov 08, 2004 at 11:26:55PM +0100, Richard Lyons wrote:
[...]
> > Wouldn't
> >$ tr '\r\n' '\n' < dosfile > unixfile
> >
> > do it?
>
> For me that doubles each newline, but I can't see why. But
>
> $ tr -d '\r' < dosfil
On Mon, Nov 08, 2004 at 11:26:55PM +0100, Richard Lyons wrote:
> On Monday 08 November 2004 19:00, Eric Dickner wrote:
> >
> > --- David Jardine <[EMAIL PROTECTED]> wrote:
> >
> > > If you're putting something on to a windows machine,
> > > wouldn't
> > > mcopy automatically use the dos CR-LF?
On Mon, Nov 08, 2004 at 07:58:13PM +0100, David Jardine wrote:
> On Mon, Nov 08, 2004 at 07:01:41AM -0800, Kenward Vaughan wrote:
> > On Mon, Nov 08, 2004 at 05:46:08AM -0800, Eric Dickner wrote:
> > > Hello,
> > >
> > > I have a text file that I burned onto a CD on a
> > > windows machine.
>
>
On Monday 08 November 2004 19:00, Eric Dickner wrote:
>
> --- David Jardine <[EMAIL PROTECTED]> wrote:
>
> > If you're putting something on to a windows machine,
> > wouldn't
> > mcopy automatically use the dos CR-LF?
>
> I was trying to remove the CR-LF so the /etc/hosts
> file lookup wouldn'
--- David Jardine <[EMAIL PROTECTED]> wrote:
> If you're putting something on to a windows machine,
> wouldn't
> mcopy automatically use the dos CR-LF?
I was trying to remove the CR-LF so the /etc/hosts
file lookup wouldn't be messed up. I never did get
"mcopy -T" (or any option or combinatio
On Mon, Nov 08, 2004 at 07:01:41AM -0800, Kenward Vaughan wrote:
> On Mon, Nov 08, 2004 at 05:46:08AM -0800, Eric Dickner wrote:
> > Hello,
> >
> > I have a text file that I burned onto a CD on a
> > windows machine.
If you're putting something on to a windows machine, wouldn't
mcopy automatica
--- Kenward Vaughan <[EMAIL PROTECTED]> wrote:
> Just for the heck of it, try using just t or a instead of both options
> (maybe it's brain dead and does one followed by the other, undoing
> itself... ?)
If the intended target audience is for Windows users, I would actually
change all the files
On Mon, Nov 08, 2004 at 05:46:08AM -0800, Eric Dickner wrote:
> Hello,
>
> I have a text file that I burned onto a CD on a
> windows machine. I used "mcopy" with the t, a and T
> options to try and get rid of those "^M" characters (I
> forget if that is the line feed or carriage return).
>
> The
11 matches
Mail list logo