LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 08-06-2004, 12:15 AM   #1
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
cvs keyword sustitution


I saw both "-kb" and "-ko" used to omit change in keyword subsititution.

what's the difference between the two? If my read correct some time ago, something to do with line feed?
 
Old 08-08-2004, 09:47 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
From "info cvs"
Quote:
`-ko'
Generate the old keyword string, present in the working file just
before it was checked in. For example, for the `Revision'
keyword, generate the string `$Revision: 1.1 $' instead of
`$Revision: 5.7 $' if that is how the string appeared when the
file was checked in.

`-kb'
Like `-ko', but also inhibit conversion of line endings between
the canonical form in which they are stored in the repository
(linefeed only), and the form appropriate to the operating system
in use on the client. For systems, like unix, which use linefeed
only to terminate lines, this is very similar to `-ko'. For more
information on binary files, see *Note Binary files::. In CVS
version 1.12.2 and later `-kb', as set by `cvs add', `cvs admin',
or `cvs import' may not be overridden by a `-k' option specified
on the command line.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo (masked by: missing keyword) Jonatoon Linux - Software 7 01-07-2009 03:47 AM
c++ super keyword kuna Programming 4 01-04-2005 07:22 PM
Redhat: vi keyword highlights hamster Linux - General 8 04-30-2003 06:27 AM
keyword list loads only 73% marksstroud Linux - Distributions 2 06-11-2002 10:15 PM
Keyword list won't download fully. marksstroud Linux - Newbie 0 11-11-2001 05:11 PM


All times are GMT -5. The time now is 12:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration