Displaying 20 results from an estimated 9000 matches similar to: "rsync files from Windows 2000 to Solaris 8"
2006 Nov 13
2
Embedded carriage returns in text document
Colleagues,
I am using R 2.4.0 on both a Mac (10.4.8) and Linux (RedHat 9). To
read data from an Excel spreadsheet, I do "save as" in Excel, then
select the "Text (tab-delimited)" format. The resulting file uses a
tab separator and I can usually read the file using read.delim.
Sometimes, the header row contains embedded carriage returns. When I
view the file,
2001 Sep 24
1
ctrl + m in files
Hi,
I have just set up samba v 2.0.0 on solaris, sharing to Win2k, win98
clients. All shares work fine, but users have come up with a problem.
If a file (ASCII text) is created on the windows client on the share, when
read on the solaris system, ctrlM (^M) characters appear in place of the
carriage returns.
How can I prevent carriage return from being replaced by ctrlM (^M).
I reckon this is
2002 Feb 20
1
Patch: Accept CR/LF line breaks in exclude files
--exclude-from and --cvs-exclude currently do not accept exclude files that
use CR/LF (DOS-style) line breaks. It basically behaves as if the files are
empty. This is rather annoying if the exclude files are generated by Windows
systems (e.g. if you're using --cvs-exclude and rsync'ing the contents of a
Samba share that includes .cvsignore files).
Attached is a simple 1-line patch (for
1998 Dec 10
1
EOL conversion??
Hi,
I've checked all the docs I can find and this top icisn't mentioned,
so I'm guessing there is no such thing, but I have users who swear
that VisionFS used to automatically convert unix text files to
windows text files (change the EOL to have both a carriage return
and a newline, instead of just a newline). I think the user is
mistaken, but just wanted to check. Is there a way
2006 Feb 28
6
to <cr> or not
I have had some success (read no noticed problems), moving some text
conf files from a Win <cr,lf> format to Linux and have them
work. For example my zone files, moving them from my Win DNS server.
But what about other files? I guess I want to know this more to
prevent a mistake from crashing things, as I do have GEDIT.
If I were to build an anaconda-ks.cfg in notepad, write it to a
2010 May 11
1
has_one/belongs_to -- accessing the subordinate
With a has_one/belongs_to relationship, what''s the best way to guarantee
that the belongs_to object gets created and is accessible alongside the
has_one object? I *think* the after_create callback is a good choice,
but I discovered an oddity while trying it.
F''rinstance, if every horse has a carriage:
============
ActiveRecord::Schema.define do
create_table(:horses) {|t|
2008 Oct 13
1
Perl CGI scripts - stripping out unwanted carriage returns etc
I have a number of perl CGI scripts which I wrote some time ago (and
which are working successfully on my website). I've set up a local
server on which to do some development work on the scripts but I can't
get them to work - the error log says:
No such file or directory: exec of '/var/www/cgi-bin/script.cgi' failed
Premature end of script headers: script.cgi etc
By comparing
2007 Mar 08
1
reading a text file with a stray carriage return
Hi,
I'm hoping someone has a suggestion for handling a simple problem. A
client gave me a comma separated value file (call it x.csv) that has
an id and name and address for about 25,000 people (25,000 records).
I used read.table to read it, but then discovered that there are stray
carriage returns on several records. This plays havoc with read.table
since it starts a
2002 Jul 17
6
Linux and Solaris performance
We have an interesting quandry here. When I'm rsync'ing my directory
tree (100 directories each containing 1000 files) I see some strange
results:
All of these machines are on their own network segment (100t) in our QA
lab
Solaris->Solaris - time taken: 11m32s
Solaris->RH Linux 7.2 - time taken: 206s
RH Linux->Rn Linux - time taken 1m59s
In each instance I have rsync running
2011 Aug 19
1
rsync'ing an rdiff-backup repository
I'm rsync'ing an rdiff-backup repository to a different machine and I
have a few questions I'm hoping you guys can help me out with.
Should I use --archive? Or maybe -rlD instead?
Can I restrict an SSH key to rsync? I can do it with rdiff-backup
with command="rdiff-backup --server" but I can't figure out how to do
it with rsync.
The rdiff-backup repository I'm
1999 Jul 16
3
Carriage Returns in files after copying
I apologize in advance if I'm wasting bandwidth with a simple question, but
I was unable to find a solution for this problem in the documentation...
I've got a set of shares set up on a SUN Enterprise 5500 using Samba 2.0.4.
In Windows NT, I map a drive to the share. When I copy a text file from
Windows NT to the SUN, editing the file in UNIX shows that ^M has been added
to the end of
2006 Aug 19
1
need to find (and distinguish types of) carriage returns in a file that is scanned using scan
Hope this is not too trivial
I am reading a large file using scan.
In one part of this file there is a chunk of text within which i need to know the positions of line breaks. But scan seems only
An example of the file is:
"
a 0 1 0
bftt 020
cftt T 1 R
a 0 1 2 1 2
b 0 1 2 2 2
c 0 10 00
"
so precisely i need in the scanned file in R to know where each carriage return is in the file
2006 Jul 05
3
splitting a story with double-spaced para''s
Quick question - if i want to separate a long string of text, separated
by single carriage returns, into an array of paragraphs, I can use the
following code:
paragraphs = article.content.split("\n")
The "\n" means a carriage return, as far as I can tell.
If I wanted to take text, that had been written using the more common
double carriage returns, into an array of
2019 Sep 06
2
[PATCH 1/1] log: do not print carriage return
From: Christian Hesse <mail at eworm.de>
Logging to stderr results in line endings being terminated with carriage
return (\r) and new line (\n). While this is fine for terminals it may
have undesired effects when running from crond and logging to syslog
or similar.
I run ssh from cron on an recent linux host. Viewing logs with
journalctl I see:
Sep 06 16:50:01 linux CROND[152575]: [96B
2012 Apr 04
3
Remove carriage return in writing tab-delimited file.
Having problems with the write.table function. I can write a tab delimited
file just fine, but for each line in my matrix its inputs a carriage return
when i dont want it to.
For example my matrix might be:
ID V1 V2 V3
FARY1004 1 2 3
FARY2067 2 3 1
FARY4587 2 2 2
And I want the written File to be:
FARY1004 1 2 3FARY2067 2 3 1FARY4587 2 2
2
TIA
--
View this
2004 Aug 12
5
shorewall iprange problem
Perhaps someone can help me understand why this is happening. I''m
trying to write a script using ''shorewall iprange'' to parse some ip
ranges into subnets so that i can place them into the blocklist. I keep
getting an error when i run the script though.
Here is the script:
#!/bin/csh
foreach i (`cat ipranges`)
shorewall iprange $i >>
2001 Nov 06
1
Solaris 7 changing password via PAM
Hi,
I am having a problem with the issue of changing the password for an expired
user (passed -f <user>).
The version of Openssh is 2.9.9p3 compiled with gcc 2.95.3, configured
--with-pam.
The user can login fine when the password is not expired. Once the password
is expired the user is connected and told the password has expired and is
asked to change it. The user is prompted for the old
2012 Jun 25
1
Replacing text with a carriage return
I have a comma separated data file with no carriage returns and what
I'd like to do is
1. read the data as a block text
2. search for the string that starts each record "record_start", and
replace this with a carriage return. Replace will do, or just add a
carriage return before it. The string is the same for each record, but
it is enclosed in double quote marks in the file.
2015 Jun 15
4
Drive problem
I was rsync'ing data from one system to another, and the recipient
suddenly started throwing DRDY errors. Now, it's a fairly new WD Red 3TB,
and I'd think it was just a bad drive... but I'm really confused by this,
from the logs:
Jun 15 15:34:43 <servername> kernel: ata3: SError: { Dispar }
Dispar? And googling, every reference I find to that word always has
something else
2004 Apr 23
1
(no subject)
Dear all:
I am developing a package in R. While I am running R CMD check, I found
the following warning message:
Found the following C sources/headers with CRLF line endings:
src/hem.c
src/random4f.h
ISO C requires LF line endings.
It seems that it comes from a line ending problem in C. What are CRLF/LF
line endings?
How can I fix it? Thank you for your help in advance.
Best,
HJ