copyhead manpage
NAME
copyhead - insert copyright into source files
SYNOPSIS
copyhead [-m mail_adress] [-o organization] [-s org.ab.]
[-v version]
DESCRIPTION
copyheadinserts a standard disclaimer into your current
directory for files with the extensions .h .H .c .cc .C
.cpp. These files are renamed to ".hc~filename~" . A new
file with name filename is created and the disclaimer and
the content of the file .hc~filename~ is appended to this
new file. The temporary file is not deleted but overwritten
by subsequent calls to copyhead.
The entries for the real name of the author are taken from
the passwd's gecos field. The mailadress, date, time, host-
name and domainname are determined by unix system calls. The
mailadress can be determined by the environment variable
MAIL_ADRESS alternativly. The name of the organization and
its abbreviation is compiled in and defaults to "Max Planck
Institute of Cognitive Neuroscience" and "M.P.I.".
OPTIONS
-m mail_adress
set the mail_adress to mail_adress. The default is
determined by account and host name.
-o organization
set the organization string to organization. The
default is "Max Planck Institute of Cognitive Neurosci-
ence".
-s org.ab.
set the abreviation string of your organization to
org.ab.. The default is "M.P.I.".
-v version
set the version string to Version. The default is
"v0.1b".
ENVIRONMENT
MAIL_ADRESS
holds the string for your mail adress.
BUGS
The environment variable MAIL_ADDRESS takes precedence over
the command line option.
There is no space allowed between the argument and the
corresponding flag.
AUTHOR
Thomas Pantzer, pantzer@fuchs.cns.mpg.de, 1997