Re: [newbie] Copy Files

2000-03-28 Thread BryanMoorehead



I believe this happens because *nix uses only a carriage-return as its
end-of-record marker, whereas winders is expecting a carriage-return/line-feed
combination.  Many winders editors such as UltraEdit (look it up on the 'Net),
either recognizes this automatically and compensates, or allows you to tell the
program you are reading a *nix-generated file.  I am not sure if you can tell
Linux editors to write CR-LF's


Bryan






"Eunice Thompson" [EMAIL PROTECTED] on 03/28/2000 05:11:56 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Bryan Moorehead/Link/Allied Holdings)
Subject:  [newbie] Copy Files




I saved a  /var/log/*file on a floppy. In order for me to view it in Linux,
I have to type  'pico filename' , and I can view the file as it's written.
When I look at the same file in Windows it looks like one big paragraph,
instead of the 200 + lines of entries of the original file. Is there a way
to save the file in Linux so that it can be viewed in it's original format
in Windows?


in Linux the file looks like this:

1 adffsgh
2 dfgtg=hjeeur
.
.
.
200 ftryu =iop;p;

in Windows the same file looks like this:
1adffsgh2 dfgtg=hjeeur200 ftryu =iop;p;


Thanks
Eunice












Re: [newbie] Copy Files

2000-03-28 Thread Jon

[EMAIL PROTECTED] wrote:

 I believe this happens because *nix uses only a carriage-return as its
 end-of-record marker, whereas winders is expecting a carriage-return/line-feed
 combination.  Many winders editors such as UltraEdit (look it up on the 'Net),
 either recognizes this automatically and compensates, or allows you to tell the
 program you are reading a *nix-generated file.  I am not sure if you can tell
 Linux editors to write CR-LF's

 Bryan

 "Eunice Thompson" [EMAIL PROTECTED] on 03/28/2000 05:11:56 AM

 Please respond to [EMAIL PROTECTED]

 To:   [EMAIL PROTECTED]
 cc:(bcc: Bryan Moorehead/Link/Allied Holdings)
 Subject:  [newbie] Copy Files

 I saved a  /var/log/*file on a floppy. In order for me to view it in Linux,
 I have to type  'pico filename' , and I can view the file as it's written.
 When I look at the same file in Windows it looks like one big paragraph,
 instead of the 200 + lines of entries of the original file. Is there a way
 to save the file in Linux so that it can be viewed in it's original format
 in Windows?

 in Linux the file looks like this:

 1 adffsgh
 2 dfgtg=hjeeur
 .
 .
 .
 200 ftryu =iop;p;

 in Windows the same file looks like this:
 1adffsgh2 dfgtg=hjeeur200 ftryu =iop;p;

 Thanks
 Eunice

Open it in wordpad or a web browser.  They both understand the CR  CR/LF problem.