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,
> > > wou
onto a CD on a
> > > windows machine.
>
> If you're putting something on to a windows machine, wouldn't
> mcopy automatically use the dos CR-LF?
I don't think this happens.
The OP wanted to transfer from the Windoze environment anyway.
He might find an easier solut
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
--- 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 ge
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
--- 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 th
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).
They seem to be gone if I look at the result with
"
Thanks Tyler another example of the problems newbies face
with present documentation
- Original Message -
From: tyler spivey <[EMAIL PROTECTED]>
To: Doug Young <[EMAIL PROTECTED]>
Cc: ;
Sent: Thursday, July 22, 1999 1:17 AM
Subject: Re: Mcopy
> its
or that file. Initially I tried copying directly from Debian
> to a DOS formatted floppy but for some reason this made the floppy
> inaccessible to DOS / Windows. Soemone then suggested using "mcopy"
> which is supposed to do the job.
>
> I can't figure how to use it
> My mcopy manual tells me to try "mcopy sourcefile targetfile".
> Targetfile is a MS-DOS drive letter like "a:" :-)
>
> mcopy -t /resolf.conf a:
Or the other way around -- sourcefile can be a drive-letter (and may
contain a full path, too, of cour
On Wed, Jul 21, 1999 at 07:23:04PM +1000, Doug Young wrote:
> I can't figure how to use it though ..... MAN mcopy says to type
> something like eg "mcopy -t/resolv.conf /dev/fd0" but that only gives
> me "Can't open /dev/fd0/resolv.conf: Not a directory"
then suggested using "mcopy"
which is supposed to do the job.
I can't figure how to use it though . MAN mcopy says to type
something like eg "mcopy -t/resolv.conf /dev/fd0" but that only gives
me "Can't open /dev/fd0/resolv.conf: Not a directory"
Of cou
a file to the hdimage I get the following:
leisure# mcopy config.emu g:
Copying config.emu
Short write 0 instead of 181
A directory listing of hdimage gives me the following:
leisure# mdir g:
Volume in drive G is DOSEMU
Volume Serial Number is 1234-5678
Direc
18 matches
Mail list logo