Discussion:
CVS: does it have eol-style props
KM
2011-08-23 14:05:23 UTC
Permalink
can you or do you have to set the end of line characters or anything in CVS files?  We have a weird error. file is a shell script ...everything looks normal in vi w/ set list etc.   if we run unix2dos file seems to work.
 
when we put it back into cvs doesn't seem to work after we check it out. 
 
it says
+ $'\r'
: command not foundheduledjobs.sh: line 4:

hidden character seems to be at end of line.
 
weird... thx
km
KM
2011-08-23 14:26:26 UTC
Permalink
Also - how do i tell if it's binary.   cvs status shows -kb so it is right?  however all the other scripts in that directory are too and they are not new.
km

From: KM <***@yahoo.com>
To: cvs-user-list <info-***@nongnu.org>
Sent: Tuesday, August 23, 2011 10:05 AM
Subject: CVS: does it have eol-style props

can you or do you have to set the end of line characters or anything in CVS files?  We have a weird error. file is a shell script ...everything looks normal in vi w/ set list etc.   if we run unix2dos file seems to work.
 
when we put it back into cvs doesn't seem to work after we check it out. 
 
it says
+ $'\r'
: command not foundheduledjobs.sh: line 4:

hidden character seems to be at end of line.
 
weird... thx
km
KM
2011-08-23 15:04:12 UTC
Permalink
The problem was solved by removing the file and typing it in again because it is small.  i made sure I did all the work on UNIX and not via eclipse on windows or anything.  Seems to work now -
 
Of course this does not really answer the question about what happened to it. 
 
If anyone has any good advice :-)  or info I'd still appreciate it.
KM

From: KM <***@yahoo.com>
To: KM <***@yahoo.com>; cvs-user-list <info-***@nongnu.org>
Sent: Tuesday, August 23, 2011 10:26 AM
Subject: Re: CVS: does it have eol-style props


Also - how do i tell if it's binary.   cvs status shows -kb so it is right?  however all the other scripts in that directory are too and they are not new.
km

From: KM <***@yahoo.com>
To: cvs-user-list <info-***@nongnu.org>
Sent: Tuesday, August 23, 2011 10:05 AM
Subject: CVS: does it have eol-style props

can you or do you have to set the end of line characters or anything in CVS files?  We have a weird error. file is a shell script ...everything looks normal in vi w/ set list etc.   if we run unix2dos file seems to work.
 
when we put it back into cvs doesn't seem to work after we check it out. 
 
it says
+ $'\r'
: command not foundheduledjobs.sh: line 4:

hidden character seems to be at end of line.
 
weird... thx
km
Ben Weatherall
2011-08-23 17:31:17 UTC
Permalink
Having an attribute of -kb does not indicate that the file is binary, though all binary files should have this attribute. It indicates that both keyword expansion and EOL translation is inhibited. This means that if a text file with the -kb attribute is edited in both *NIX and Windows (or even Mac), then a mix of EOL types will end up being present. If you use the -kk attribute for text files, only keyword expansion will be inhibited and the EOL translation will be handled for you by cvs.

The cvswrappers file in CVSROOT governs default behavior based on case-sensitive extensions. Note that it only controls the attribute for initial adds to the repository, not subsequent checkouts or commits.

Hope this helps,
-Ben

-------Original Message------
The problem was solved by removing the file and typing it in again because it is small. i made sure I did all the work on UNIX and not via eclipse on windows or anything. Seems to work now -

Of course this does not really answer the question about what happened to it.

If anyone has any good advice :-) or info I'd still appreciate it.
KM


This message and its contents (to include attachments) are the property of National Health Systems, Inc. and may contain confidential and proprietary information. This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. You are hereby notified that any unauthorized disclosure, copying, or distribution of this message, or the taking of any unauthorized action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately and notify the sender immediately by telephone or by replying to this transmission.
Hickel, Kelly
2011-08-23 17:57:14 UTC
Permalink
Looks OK


Kelly Hickel
Product Development Architect
BMC Software

phone: 952.345.8677
fax: 952.345.8721

Suite 400
1660 South Highway 100.
St. Louis Park, MN 55416









-----Original Message-----
From: info-cvs-bounces+kelly_hickel=***@nongnu.org [mailto:info-cvs-bounces+kelly_hickel=***@nongnu.org] On Behalf Of Ben Weatherall
Sent: Tuesday, August 23, 2011 12:31 PM
To: cvs-user-list
Subject: RE: CVS: does it have eol-style props

Having an attribute of -kb does not indicate that the file is binary, though all binary files should have this attribute. It indicates that both keyword expansion and EOL translation is inhibited. This means that if a text file with the -kb attribute is edited in both *NIX and Windows (or even Mac), then a mix of EOL types will end up being present. If you use the -kk attribute for text files, only keyword expansion will be inhibited and the EOL translation will be handled for you by cvs.

The cvswrappers file in CVSROOT governs default behavior based on case-sensitive extensions. Note that it only controls the attribute for initial adds to the repository, not subsequent checkouts or commits.

Hope this helps,
-Ben

-------Original Message------
The problem was solved by removing the file and typing it in again because it is small. i made sure I did all the work on UNIX and not via eclipse on windows or anything. Seems to work now -

Of course this does not really answer the question about what happened to it.

If anyone has any good advice :-) or info I'd still appreciate it.
KM


This message and its contents (to include attachments) are the property of National Health Systems, Inc. and may contain confidential and proprietary information. This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. You are hereby notified that any unauthorized disclosure, copying, or distribution of this message, or the taking of any unauthorized action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately and notify the sender immediately by telephone or by replying to this transmission.
Hickel, Kelly
2011-08-23 18:01:44 UTC
Permalink
Please ignore that response, it was meant for an entirely different email thread.


Kelly Hickel
Product Development Architect
BMC Software

phone: 952.345.8677
fax: 952.345.8721

Suite 400
1660 South Highway 100.
St. Louis Park, MN 55416









-----Original Message-----
From: info-cvs-bounces+kelly_hickel=***@nongnu.org [mailto:info-cvs-bounces+kelly_hickel=***@nongnu.org] On Behalf Of Hickel, Kelly
Sent: Tuesday, August 23, 2011 12:57 PM
To: Ben Weatherall; cvs-user-list
Subject: RE: CVS: does it have eol-style props

Looks OK


Kelly Hickel
Product Development Architect
BMC Software

phone: 952.345.8677
fax: 952.345.8721

Suite 400
1660 South Highway 100.
St. Louis Park, MN 55416









-----Original Message-----
From: info-cvs-bounces+kelly_hickel=***@nongnu.org [mailto:info-cvs-bounces+kelly_hickel=***@nongnu.org] On Behalf Of Ben Weatherall
Sent: Tuesday, August 23, 2011 12:31 PM
To: cvs-user-list
Subject: RE: CVS: does it have eol-style props

Having an attribute of -kb does not indicate that the file is binary, though all binary files should have this attribute. It indicates that both keyword expansion and EOL translation is inhibited. This means that if a text file with the -kb attribute is edited in both *NIX and Windows (or even Mac), then a mix of EOL types will end up being present. If you use the -kk attribute for text files, only keyword expansion will be inhibited and the EOL translation will be handled for you by cvs.

The cvswrappers file in CVSROOT governs default behavior based on case-sensitive extensions. Note that it only controls the attribute for initial adds to the repository, not subsequent checkouts or commits.

Hope this helps,
-Ben

-------Original Message------
The problem was solved by removing the file and typing it in again because it is small. i made sure I did all the work on UNIX and not via eclipse on windows or anything. Seems to work now -

Of course this does not really answer the question about what happened to it.

If anyone has any good advice :-) or info I'd still appreciate it.
KM


This message and its contents (to include attachments) are the property of National Health Systems, Inc. and may contain confidential and proprietary information. This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. You are hereby notified that any unauthorized disclosure, copying, or distribution of this message, or the taking of any unauthorized action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately and notify the sender immediately by telephone or by replying to this transmission.
Loading...