a2p
accept
access
acct
addftinfo
addr2line
adjtime
afmtodit
after
aio_cancel
aio_error
aio_read
aio_return
aio_suspend
aio_waitcomplete
aio_write
alias
aliases
alloc
anvil
append
apply
apropos
ar
array
as
asa
asn1parse
at
atq
atrm
attemptckalloc
attemptckrealloc
authlib
authtest
autopoint
awk
b64decode
b64encode
basename
batch
bc
bdes
bell
bg
bgerror
biff
big5
binary
bind
bindkey
bindtags
bindtextdomain
bio
bitmap
blowfish
bn
bootparams
bootptab
bounce
brandelf
break
breaksw
brk
bsdiff
bsdtar
bsnmpd
bspatch
bthost
btsockstat
buffer
builtin
builtins
bunzip2
button
byacc
bzcat
bzegrep
bzfgrep
bzgrep
bzip2
c2ph
c89
c99
ca
cal
calendar
canvas
cap_mkdb
case
cat
catch
catman
cc
cd
cdcontrol
chdir
checkbutton
checknr
chflags
chfn
chgrp
chio
chkey
chmod
chown
chpass
chroot
chsh
ci
ciphers
ckalloc
ckdist
ckfree
ckrealloc
cksum
cleanup
clear
clipboard
clock
clock_getres
clock_gettime
clock_settime
close
cmp
co
col
colcrt
colldef
colors
colrm
column
comm
command
compile_et
complete
compress
concat
config
connect
console
continue
core
courierlogger
couriertcpd
cp
cpan
cpio
cpp
creat
crl
crontab
crunchgen
crunchide
crypt
crypto
csh
csplit
ctags
ctm
ctm_dequeue
ctm_rmail
ctm_smail
cu
cursor
cursors
cut
cvs
date
dbiprof
dbiproxy
dc
dcgettext
dcngettext
dd
dde
default
defer
deliverquota
des
destroy
devfs
df
dgettext
dgst
dh
dhparam
dialog
diff
diff3
dig
dir
dirent
dirname
dirs
discard
disktab
dngettext
do
domainname
done
dprofpp
dsa
dsaparam
dtmfdecode
du
dup
dup2
eaccess
ec
ecdsa
echo
echotc
ecparam
ed
edit
editrc
ee
egrep
elf
elfdump
elif
else
enc
enc2xs
encoding
end
endif
endsw
engine
enigma
entry
env
envsubst
eof
eqn
err
errno
error
errstr
esac
ethers
euc
eui64
eval
event
evp
ex
exec
execve
exit
expand
export
exports
expr
extattr
extattr_delete_fd
extattr_delete_file
extattr_get_fd
extattr_get_file
extattr_set_fd
extattr_set_file
f77
false
famm
famx
fblocked
fbtab
fc
fchdir
fchflags
fchmod
fchown
fcntl
fconfigure
fcopy
fdescfs
fdformat
fdread
fdwrite
fetch
fg
fgrep
fhopen
fhstat
fhstatfs
fi
file
file2c
fileevent
filename
filetest
find
find2perl
finger
flex
flock
flush
fmt
focus
fold
font
fontedit
for
foreach
fork
format
forward
fpathconf
frame
from
fs
fstab
fstat
fstatfs
fsync
ftp
ftpchroot
ftpusers
ftruncate
futimes
g711conv
gb2312
gb18030
gbk
gcc
gcore
gcov
gdb
gencat
gendsa
genrsa
gensnmptree
getconf
getdents
getdirentries
getdtablesize
getegid
geteuid
getfacl
getfh
getfsstat
getgid
getgroups
getitimer
getlogin
getopt
getopts
getpeername
getpgid
getpgrp
getpid
getppid
getpriority
getresgid
getresuid
getrlimit
getrusage
gets
getsid
getsockname
getsockopt
gettext
gettextize
gettimeofday
gettytab
getuid
glob
global
gmake
goto
gperf
gprof
grab
grep
grid
grn
grodvi
groff
groff_font
groff_out
groff_tmac
grog
grolbp
grolj4
grops
grotty
group
groups
gunzip
gzcat
gzexe
gzip
h2ph
h2xs
hash
hashstat
hd
head
help2man
hesinfo
hexdump
history
host
hostname
hosts
hosts_access
hosts_options
hpftodit
http
hup
i386_get_ioperm
i386_get_ldt
i386_set_ioperm
i386_set_ldt
i386_vm86
iconv
id
ident
idprio
if
ifnames253
ifnames259
image
imapd
incr
indent
indxbib
info
infokey
inode
install
instmodsh
interp
intro
introduction
ioctl
ipcrm
ipcs
ipf
ipftest
ipnat
ippool
ipresend
issetugid
jail
jail_attach
jobid
jobs
join
jot
kbdcontrol
kbdmap
kcon
kdestroy
kdump
kenv
kevent
keycap
keylogin
keylogout
keymap
keysyms
kgdb
kill
killall
killpg
kinit
kldfind
kldfirstmod
kldload
kldnext
kldstat
kldsym
kldunload
klist
kpasswd
kqueue
kse
kse_create
kse_exit
kse_release
kse_switchin
kse_thr_interrupt
kse_wakeup
ktrace
label
labelframe
lam
lappend
last
lastcomm
lastlog
lchflags
lchmod
lchown
ld
ldap
ldapadd
ldapcompare
ldapdelete
ldapmodify
ldapmodrdn
ldappasswd
ldapsearch
ldapwhoami
ldd
leave
less
lesskey
lex
lgetfh
lhash
libnetcfg
library
limit
limits
lindex
link
linprocfs
linsert
lint
lio_listio
list
listbox
listen
lj4_font
lkbib
llength
lmtp
ln
load
loadfont
local
locale
locate
lock
lockf
log
logger
login
logins
logname
logout
look
lookbib
lorder
lower
lp
lpq
lpr
lprm
lptest
lrange
lreplace
ls
lsearch
lseek
lset
lsort
lstat
lsvfs
lutimes
lynx
m4
madvise
magic
mail
maildiracl
maildirkw
maildirmake
mailq
mailx
make
makeinfo
makewhatis
man
manpath
master
mc
mcedit
mcview
md2
md4
md5
mdc2
memory
menu
menubar
menubutton
merge
mesg
message
mincore
minherit
minigzip
mkdep
mkdir
mkfifo
mkimapdcert
mklocale
mknod
mkpop3dcert
mkstr
mktemp
mlock
mlockall
mmap
mmroff
modfind
modfnext
modnext
modstat
moduli
more
motd
mount
mprotect
mptable
msdos
msdosfs
msgattrib
msgcat
msgcmp
msgcomm
msgconv
msgen
msgexec
msgfilter
msgfmt
msggrep
msginit
msgmerge
msgs
msgunfmt
msguniq
mskanji
msql2mysql
msync
mt
munlock
munlockall
munmap
mv
myisamchk
myisamlog
myisampack
mysql
mysqlaccess
mysqladmin
mysqlbinlog
mysqlcheck
mysqld
mysqldump
mysqld_multi
mysqld_safe
mysqlhotcopy
mysqlimport
mysqlshow
mysql_config
mysql_fix_privilege_tables
mysql_zap
namespace
nanosleep
nawk
nc
ncal
ncplist
ncplogin
ncplogout
neqn
netconfig
netgroup
netid
netstat
networks
newaliases
newgrp
nex
nfsstat
nfssvc
ngettext
nice
nl
nm
nmount
nohup
nologin
notify
nroff
nseq
nslookup
ntp_adjtime
ntp_gettime
nvi
nview
objcopy
objdump
objformat
ocsp
od
onintr
open
openssl
opieaccess
opieinfo
opiekey
opiekeys
opiepasswd
option
options
oqmgr
pack
package
packagens
pagesize
palette
pam_auth
panedwindow
parray
passwd
paste
patch
pathchk
pathconf
pawd
pax
pbm
pcre
pcreapi
pcrebuild
pcrecallout
pcrecompat
pcrecpp
pcregrep
pcrematching
pcrepartial
pcrepattern
pcreperform
pcreposix
pcreprecompile
pcresample
pcretest
perl
perl56delta
perl58delta
perl561delta
perl570delta
perl571delta
perl572delta
perl573delta
perl581delta
perl582delta
perl583delta
perl584delta
perl585delta
perl586delta
perl587delta
perl588delta
perl5004delta
perl5005delta
perlaix
perlamiga
perlapi
perlapio
perlapollo
perlartistic
perlbeos
perlbook
perlboot
perlbot
perlbs2000
perlbug
perlcall
perlcc
perlce
perlcheat
perlclib
perlcn
perlcompile
perlcygwin
perldata
perldbmfilter
perldebguts
perldebtut
perldebug
perldelta
perldgux
perldiag
perldoc
perldos
perldsc
perlebcdic
perlembed
perlepoc
perlfaq
perlfaq1
perlfaq2
perlfaq3
perlfaq4
perlfaq5
perlfaq6
perlfaq7
perlfaq8
perlfaq9
perlfilter
perlfork
perlform
perlfreebsd
perlfunc
perlglossary
perlgpl
perlguts
perlhack
perlhist
perlhpux
perlhurd
perlintern
perlintro
perliol
perlipc
perlirix
perlivp
perljp
perlko
perllexwarn
perllinux
perllocale
perllol
perlmachten
perlmacos
perlmacosx
perlmint
perlmod
perlmodinstall
perlmodlib
perlmodstyle
perlmpeix
perlnetware
perlnewmod
perlnumber
perlobj
perlop
perlopenbsd
perlopentut
perlos2
perlos390
perlos400
perlothrtut
perlpacktut
perlplan9
perlpod
perlpodspec
perlport
perlqnx
perlre
perlref
perlreftut
perlrequick
perlreref
perlretut
perlrun
perlsec
perlsolaris
perlstyle
perlsub
perlsyn
perlthrtut
perltie
perltoc
perltodo
perltooc
perltoot
perltrap
perltru64
perltw
perlunicode
perluniintro
perlutil
perluts
perlvar
perlvmesa
perlvms
perlvos
perlwin32
perlxs
perlxstut
perror
pfbtops
pftp
pgrep
phones
photo
pic
pickup
piconv
pid
pipe
pkcs7
pkcs8
pkcs12
pkg_add
pkg_check
pkg_create
pkg_delete
pkg_info
pkg_sign
pkg_version
pkill
pl2pm
place
pod2html
pod2latex
pod2man
pod2text
pod2usage
podchecker
podselect
poll
popd
popup
posix_madvise
postalias
postcat
postconf
postdrop
postfix
postkick
postlock
postlog
postmap
postqueue
postsuper
pr
pread
preadv
printcap
printenv
printf
proc
procfs
profil
protocols
prove
proxymap
ps
psed
psroff
pstruct
ptrace
publickey
pushd
puts
pwd
pwrite
pwritev
qmgr
qmqpd
quota
quotactl
radiobutton
raise
rand
ranlib
rcp
rcs
rcsclean
rcsdiff
rcsfile
rcsfreeze
rcsintro
rcsmerge
read
readelf
readlink
readonly
readv
realpath
reboot
recv
recvfrom
recvmsg
red
ree
refer
regexp
registry
regsub
rehash
remote
rename
repeat
replace
req
reset
resolver
resource
return
rev
revoke
rfcomm_sppd
rfork
rhosts
ripemd
ripemd160
rlog
rlogin
rm
rmd160
rmdir
rpc
rpcgen
rs
rsa
rsautl
rsh
rtld
rtprio
rup
ruptime
rusers
rwall
rwho
s2p
safe
sasl
sasldblistusers2
saslpasswd2
sbrk
scache
scale
scan
sched
sched_getparam
sched_getscheduler
sched_get_priority_max
sched_get_priority_min
sched_rr_get_interval
sched_setparam
sched_setscheduler
sched_yield
scon
scp
script
scrollbar
sdiff
sed
seek
select
selection
semctl
semget
semop
send
sendbug
sendfile
sendmail
sendmsg
sendto
services
sess_id
set
setegid
setenv
seteuid
setfacl
setgid
setgroups
setitimer
setlogin
setpgid
setpgrp
setpriority
setregid
setresgid
setresuid
setreuid
setrlimit
setsid
setsockopt
settc
settimeofday
setty
setuid
setvar
sftp
sh
sha
sha1
sha256
shar
shells
shift
shmat
shmctl
shmdt
shmget
showq
shutdown
sigaction
sigaltstack
sigblock
sigmask
sigpause
sigpending
sigprocmask
sigreturn
sigsetmask
sigstack
sigsuspend
sigvec
sigwait
size
slapadd
slapcat
slapd
slapdn
slapindex
slappasswd
slaptest
sleep
slogin
slurpd
smbutil
smime
smtp
smtpd
socket
socketpair
sockstat
soelim
sort
source
spawn
speed
spinbox
spkac
splain
split
squid
squid_ldap_auth
squid_ldap_group
squid_unix_group
sscop
ssh
sshd_config
ssh_config
stab
startslip
stat
statfs
stop
string
strings
strip
stty
su
subst
sum
suspend
swapoff
swapon
switch
symlink
sync
sysarch
syscall
sysconftool
sysconftoolcheck
systat
s_client
s_server
s_time
tabs
tail
talk
tar
tbl
tclsh
tcltest
tclvars
tcopy
tcpdump
tcpslice
tcsh
tee
tell
telltc
telnet
term
termcap
terminfo
test
texindex
texinfo
text
textdomain
tfmtodit
tftp
then
threads
time
tip
tk
tkerror
tkvars
tkwait
tlsmgr
tmac
top
toplevel
touch
tput
tr
trace
trafshow
trap
troff
true
truncate
truss
tset
tsort
tty
ttys
type
tzfile
ui
ul
ulimit
umask
unalias
uname
uncomplete
uncompress
undelete
unexpand
unhash
unifdef
unifdefall
uniq
units
unknown
unlimit
unlink
unmount
unset
unsetenv
until
unvis
update
uplevel
uptime
upvar
usbhidaction
usbhidctl
users
utf8
utimes
utmp
utrace
uudecode
uuencode
uuidgen
vacation
variable
verify
version
vfork
vgrind
vgrindefs
vi
vidcontrol
vidfont
view
virtual
vis
vt220keys
vwait
w
wait
wait3
wait4
waitpid
wall
wc
wget
what
whatis
where
whereis
which
while
who
whoami
whois
window
winfo
wish
wm
write
writev
wtmp
x509
xargs
xgettext
xmlwf
xstr
xsubpp
yacc
yes
ypcat
ypchfn
ypchpass
ypchsh
ypmatch
yppasswd
ypwhich
yyfix
zcat
zcmp
zdiff
zegrep
zfgrep
zforce
zgrep
zmore
znew
_exit
__syscall
 
FreeBSD/Linux/UNIX General Commands Manual
Hypertext Man Pages
co
 
CO(1)									 CO(1)



NAME
       co - check out RCS revisions

SYNOPSIS
       co [options] file ...

DESCRIPTION
       co  retrieves a revision from each RCS file and stores it into the cor-
       responding working file.

       Pathnames matching an RCS suffix denote RCS files;  all	others	denote
       working files.  Names are paired as explained in ci(1).

       Revisions  of an RCS file can be checked out locked or unlocked.  Lock-
       ing a revision prevents overlapping updates.  A	revision  checked  out
       for  reading  or  processing  (e.g.,  compiling) need not be locked.  A
       revision checked out for editing and later  checkin  must  normally  be
       locked.	 Checkout with locking fails if the revision to be checked out
       is currently locked by another  user.   (A  lock  can  be  broken  with
       rcs(1).)   Checkout  with locking also requires the caller to be on the
       access list of the RCS file, unless he is the owner of the file or  the
       superuser,  or  the  access list is empty.  Checkout without locking is
       not subject to accesslist restrictions, and  is	not  affected  by  the
       presence of locks.

       A  revision  is	selected  by  options  for  revision or branch number,
       checkin date/time, author, or state.  When the  selection  options  are
       applied in combination, co retrieves the latest revision that satisfies
       all of them.  If  none  of  the	selection  options  is	specified,  co
       retrieves  the  latest  revision  on  the  default branch (normally the
       trunk, see the -b option of rcs(1)).  A revision or branch  number  can
       be  attached  to  any of the options -f, -I, -l, -M, -p, -q, -r, or -u.
       The options -d (date), -s (state), and -w (author) retrieve from a sin-
       gle  branch,  the  selected branch, which is either specified by one of
       -f, ..., -u, or the default branch.

       A co command applied to an RCS file with no revisions creates  a  zero-
       length  working	file.	co  always  performs keyword substitution (see
       below).

OPTIONS
       -r[rev]
	      retrieves the latest revision whose number is less than or equal
	      to  rev.	 If rev indicates a branch rather than a revision, the
	      latest revision on that branch is retrieved.  If rev is omitted,
	      the  latest revision on the default branch (see the -b option of
	      rcs(1)) is retrieved.  If rev is $, co determines  the  revision
	      number  from  keyword  values in the working file.  Otherwise, a
	      revision is composed of one or more numeric or  symbolic	fields
	      separated  by  periods.	If  rev begins with a period, then the
	      default branch (normally the trunk) is prepended to it.  If  rev
	      is  a  branch number followed by a period, then the latest revi-
	      sion on that branch is used.  The numeric equivalent of  a  sym-
	      bolic  field  is	specified  with  the -n option of the commands
	      ci(1) and rcs(1).

       -l[rev]
	      same as -r, except that it also locks the retrieved revision for
	      the caller.

       -u[rev]
	      same  as -r, except that it unlocks the retrieved revision if it
	      was locked by the caller.  If rev is omitted, -u	retrieves  the
	      revision	locked	by  the caller, if there is one; otherwise, it
	      retrieves the latest revision on the default branch.

       -f[rev]
	      forces the overwriting of the working file; useful in connection
	      with -q.	See also FILE MODES below.

       -kkv   Generate keyword strings using the default form, e.g. $Revision:
	      1.6 $ for the Revision keyword.  A locker's name is inserted  in
	      the  value of the Header, Id, and Locker keyword strings only as
	      a file is being locked, i.e. by ci -l and co -l.	 This  is  the
	      default.

       -kkvl  Like -kkv, except that a locker's name is always inserted if the
	      given revision is currently locked.

       -kk    Generate only keyword names in keyword strings; omit their  val-
	      ues.   See  KEYWORD  SUBSTITUTION  below.   For example, for the
	      Revision keyword, generate  the  string  $Revision$  instead  of
	      $Revision:  1.6  $.  This option is useful to ignore differences
	      due to keyword substitution when comparing  different  revisions
	      of  a file.  Log messages are inserted after $Log$ keywords even
	      if -kk is specified, since this tends to	be  more  useful  when
	      merging changes.

       -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 $Revi-
	      sion: 1.6 $ if that is how the string appeared when the file was
	      checked  in.   This  can	be useful for file formats that cannot
	      tolerate any changes to substrings that happen to take the  form
	      of keyword strings.

       -kb    Generate	a  binary  image of the old keyword string.  This acts
	      like -ko, except it performs all working file input  and	output
	      in  binary mode.	This makes little difference on Posix and Unix
	      hosts, but on DOS-like hosts one should use rcs -i -kb  to  ini-
	      tialize an RCS file intended to be used for binary files.  Also,
	      on all hosts, rcsmerge(1) normally refuses to merge  files  when
	      -kb is in effect.

       -kv    Generate	only keyword values for keyword strings.  For example,
	      for the Revision keyword, generate the  string  1.6  instead  of
	      $Revision:  1.6  $.  This can help generate files in programming
	      languages where it is hard  to  strip  keyword  delimiters  like
	      $Revision: $  from a string.  However, further keyword substitu-
	      tion cannot be performed once the keyword names are removed,  so
	      this option should be used with care.  Because of this danger of
	      losing keywords, this option cannot be combined with -l, and the
	      owner  write  permission	of  the working file is turned off; to
	      edit the file later, check it out again without -kv.

       -p[rev]
	      prints the retrieved revision on the standard output rather than
	      storing  it  in the working file.  This option is useful when co
	      is part of a pipe.

       -q[rev]
	      quiet mode; diagnostics are not printed.

       -I[rev]
	      interactive mode; the user is prompted and  questioned  even  if
	      the standard input is not a terminal.

       -ddate retrieves  the  latest  revision	on  the  selected branch whose
	      checkin date/time is less than or equal to date.	The  date  and
	      time  can  be given in free format.  The time zone LT stands for
	      local time; other common time zone names	are  understood.   For
	      example,	the  following	dates  are equivalent if local time is
	      January 11, 1990, 8pm Pacific Standard Time, eight hours west of
	      Coordinated Universal Time (UTC):

		     8:00 pm lt
		     4:00 AM, Jan. 12, 1990	      default is UTC
		     1990-01-12 04:00:00+00	      ISO 8601 (UTC)
		     1990-01-11 20:00:00-08	      ISO 8601 (local time)
		     1990/01/12 04:00:00	      traditional RCS format
		     Thu Jan 11 20:00:00 1990 LT      output of ctime(3) + LT
		     Thu Jan 11 20:00:00 PST 1990     output of date(1)
		     Fri Jan 12 04:00:00 GMT 1990
		     Thu, 11 Jan 1990 20:00:00 -0800  Internet RFC 822
		     12-January-1990, 04:00 WET

	      Most  fields in the date and time can be defaulted.  The default
	      time zone is normally UTC, but this can be overridden by the  -z
	      option.	The  other  defaults are determined in the order year,
	      month, day, hour, minute, and second  (most  to  least  signifi-
	      cant).   At  least  one  of  these fields must be provided.  For
	      omitted fields that are of higher significance than the  highest
	      provided field, the time zone's current values are assumed.  For
	      all  other  omitted  fields,  the  lowest  possible  values  are
	      assumed.	 For  example, without -z, the date 20, 10:30 defaults
	      to 10:30:00 UTC of the 20th of the UTC time zone's current month
	      and year.  The date/time must be quoted if it contains spaces.

       -M[rev]
	      Set the modification time on the new working file to be the date
	      of the retrieved revision.  Use this option with	care;  it  can
	      confuse make(1).

       -sstate
	      retrieves the latest revision on the selected branch whose state
	      is set to state.

       -T     Preserve the modification time on the RCS file even if  the  RCS
	      file  changes  because  a lock is added or removed.  This option
	      can suppress extensive recompilation caused by a make(1)	depen-
	      dency  of  some  other copy of the working file on the RCS file.
	      Use this option with care; it can  suppress  recompilation  even
	      when  it	is  needed,  i.e. when the change of lock would mean a
	      change to keyword strings in the other working file.

       -w[login]
	      retrieves the latest revision on the selected branch  which  was
	      checked  in  by the user with login name login.  If the argument
	      login is omitted, the caller's login is assumed.

       -jjoinlist
	      generates a new revision which is the join of the  revisions  on
	      joinlist.   This	option is largely obsoleted by rcsmerge(1) but
	      is retained for backwards compatibility.

	      The joinlist is a comma-separated list  of  pairs  of  the  form
	      rev2:rev3,  where  rev2 and rev3 are (symbolic or numeric) revi-
	      sion numbers.  For the initial such pair, rev1 denotes the revi-
	      sion  selected  by the above options -f, ..., -w.  For all other
	      pairs, rev1 denotes the revision generated by the previous pair.
	      (Thus, the output of one join becomes the input to the next.)

	      For  each pair, co joins revisions rev1 and rev3 with respect to
	      rev2.  This means that all changes that transform rev2 into rev1
	      are  applied  to a copy of rev3.	This is particularly useful if
	      rev1 and rev3 are the ends of two branches that have rev2  as  a
	      common  ancestor.  If rev1<rev2<rev3 on the same branch, joining
	      generates a new revision	which  is  like  rev3,	but  with  all
	      changes  that  lead  from  rev1 to rev2 undone.  If changes from
	      rev2 to rev1 overlap with changes from rev2 to rev3, co  reports
	      overlaps as described in merge(1).

	      For  the	initial pair, rev2 can be omitted.  The default is the
	      common ancestor.	If any of the arguments indicate branches, the
	      latest  revisions on those branches are assumed.	The options -l
	      and -u lock or unlock rev1.

       -V     Print RCS's version number.

       -Vn    Emulate RCS version n, where n can be 3, 4, or 5.  This  can  be
	      useful  when interchanging RCS files with others who are running
	      older versions of RCS.  To see which version of RCS your	corre-
	      spondents  are running, have them invoke rcs -V; this works with
	      newer versions of RCS.  If it doesn't  work,  have  them	invoke
	      rlog  on	an  RCS file; if none of the first few lines of output
	      contain the string branch: it is version 3; if the dates'  years
	      have  just two digits, it is version 4; otherwise, it is version
	      5.  An RCS file generated while emulating version  3  loses  its
	      default  branch.	An RCS revision generated while emulating ver-
	      sion 4 or earlier has a time stamp that  is  off	by  up	to  13
	      hours.   A  revision extracted while emulating version 4 or ear-
	      lier contains abbreviated dates of the  form  yy/mm/dd  and  can
	      also contain different white space and line prefixes in the sub-
	      stitution for $Log$.

       -xsuffixes
	      Use suffixes to characterize RCS files.  See ci(1) for  details.

       -zzone specifies  the  date  output format in keyword substitution, and
	      specifies the default time zone for date in the  -ddate  option.
	      The  zone  should be empty, a numeric UTC offset, or the special
	      string LT for local time.  The default is an empty  zone,  which
	      uses  the  traditional  RCS  format of UTC without any time zone
	      indication and with slashes separating the parts	of  the  date;
	      otherwise,  times  are  output in ISO 8601 format with time zone
	      indication.  For example, if local time is January 11, 1990, 8pm
	      Pacific Standard Time, eight hours west of UTC, then the time is
	      output as follows:

		     option    time output
		     -z        1990/01/12 04:00:00	  (default)
		     -zLT      1990-01-11 20:00:00-08
		     -z+05:30  1990-01-12 09:30:00+05:30

	      The -z option does not affect dates stored in RCS  files,  which
	      are always UTC.

KEYWORD SUBSTITUTION
       Strings	of  the  form $keyword$ and $keyword:...$ embedded in the text
       are replaced with strings of the form $keyword:value$ where keyword and
       value  are  pairs  listed  below.   Keywords can be embedded in literal
       strings or comments to identify a revision.

       Initially, the user enters strings of the form $keyword$.  On checkout,
       co replaces these strings with strings of the form $keyword:value$.  If
       a revision containing strings of the latter form is  checked  back  in,
       the  value fields will be replaced during the next checkout.  Thus, the
       keyword values are automatically updated on checkout.   This  automatic
       substitution can be modified by the -k options.

       Keywords and their corresponding values:

       $Author$
	      The login name of the user who checked in the revision.

       $Date$ The  date  and  time the revision was checked in.  With -zzone a
	      numeric time zone offset is appended;  otherwise,  the  date  is
	      UTC.

       $Header$
	      A  standard header containing the full pathname of the RCS file,
	      the revision number, the date and time, the author,  the	state,
	      and  the	locker	(if  locked).  With -zzone a numeric time zone
	      offset is appended to the date; otherwise, the date is UTC.

       $Id$   Same as $Header$, except that the  RCS  filename	is  without  a
	      path.

       $Locker$
	      The login name of the user who locked the revision (empty if not
	      locked).

       $Log$  The log message supplied during checkin, preceded  by  a	header
	      containing  the  RCS  filename, the revision number, the author,
	      and the date and time.  With -zzone a numeric time  zone	offset
	      is  appended; otherwise, the date is UTC.  Existing log messages
	      are not replaced.  Instead, the  new  log  message  is  inserted
	      after  $Log:...$.   This	is  useful for accumulating a complete
	      change log in a source file.

	      Each inserted line is prefixed by the string that  prefixes  the
	      $Log$  line.   For  example,  if	the  $Log$  line  is "// $Log:
	      tan.cc $", RCS prefixes each line of the log with  "// ".   This
	      is  useful for languages with comments that go to the end of the
	      line.  The convention for other languages is to use a " * " pre-
	      fix  inside  a  multiline comment.  For example, the initial log
	      comment of a C program conventionally is of the following form:

		     /*
		      * $Log$
		      */

	      For backwards compatibility with older versions of RCS,  if  the
	      log  prefix  is  /*  or  (*  surrounded by optional white space,
	      inserted log lines contain a space instead of / or  (;  however,
	      this usage is obsolescent and should not be relied on.

       $Name$ The  symbolic  name used to check out the revision, if any.  For
	      example, co -rJoe generates $Name: Joe $.   Plain  co  generates
	      just $Name:  $.

       $RCSfile$
	      The name of the RCS file without a path.

       $Revision$
	      The revision number assigned to the revision.

       $Source$
	      The full pathname of the RCS file.

       $State$
	      The  state assigned to the revision with the -s option of rcs(1)
	      or ci(1).

       The following characters in keyword values are  represented  by	escape
       sequences to keep keyword strings well-formed.

	      char     escape sequence
	      tab      \t
	      newline  \n
	      space    \040
	      $        \044
	      \        \\

FILE MODES
       The working file inherits the read and execute permissions from the RCS
       file.  In addition, the owner write permission is turned on, unless -kv
       is set or the file is checked out unlocked and locking is set to strict
       (see rcs(1)).

       If a file with the name of the working  file  exists  already  and  has
       write  permission,  co aborts the checkout, asking beforehand if possi-
       ble.  If the existing working file is not writable or -f is given,  the
       working file is deleted without asking.

FILES
       co  accesses  files much as ci(1) does, except that it does not need to
       read the working file unless a revision number of $ is specified.

ENVIRONMENT
       RCSINIT
	      options prepended to the argument  list,	separated  by  spaces.
	      See ci(1) for details.

DIAGNOSTICS
       The  RCS  pathname,  the  working  pathname,  and  the  revision number
       retrieved are written to the diagnostic output.	 The  exit  status  is
       zero if and only if all operations were successful.

IDENTIFICATION
       Author: Walter F. Tichy.
       Manual Page Revision: 1.6; Release Date: 1999/08/27.
       Copyright (C) 1982, 1988, 1989 Walter F. Tichy.
       Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert.

SEE ALSO
       rcsintro(1),  ci(1),  ctime(3),	date(1),  ident(1),  make(1),  rcs(1),
       rcsclean(1), rcsdiff(1), rcsmerge(1), rlog(1), rcsfile(5)
       Walter F. Tichy, RCS--A System for Version Control,  Software--Practice
       & Experience 15, 7 (July 1985), 637-654.

LIMITS
       Links to the RCS and working files are not preserved.

       There  is  no  way  to  selectively suppress the expansion of keywords,
       except by writing them differently.  In nroff and troff, this  is  done
       by embedding the null-character \& into the keyword.



GNU				  1999/08/27				 CO(1)
=29775
+111
(15)