aegis -File_ATtributes -File attr-file [option...] filename
aegis -File_ATtributes -Edit [option...] filename
aegis -File_ATtributes [option...] name=valuefilename
aegis -File_ATtributes -Help
The
aegis
-File_ATtributes
command is used to set, edit or list the attributes of a file.
The output of the
-List
variant is suitable for use as input at a later time.
See
aefattr(5)
for a description of the file format.
Attribute names are not case sensitive. File attributes with a name starting with an upper case letter will appear in ael(1) and aeget(1) listings, while those starting with a lower case letter will not.
If you are only setting the values of unique attributes, it is possible to do this from the command line, using the name=value form.
Note that this usage will replace the first attribute with the given name. If there is more than one attribute of that name, the second and subsequent attributes are unchanged. If there is no attribute of the given name, it will be appended.
You may set more than one attribute at a time, provided that their names are unique. Attribute names are not case sensitive.
While many of the anticipated uses of file attributes are to allow projects to attach their own specialized data to individual files, Aegis also uses some attributes for its own purposes (and arguably, should always have done so to maximize forwards compatibility across Aegis upgrades).
This is taken directly from the MIME definition of Content-Type. It remembers what sort of file this is. It is anticipated that a diff tool, for example, could make use of this attribute to provide format-specific file difference listings. Some change set interchange formats are capable of carrying this information.
boolean. If true, this file is not included by the aedist -entire-source
flag. The aetar and aerevml commands work similarly.
Think of it as a "local only" flag.
boolean. If true, this file will not be checked by the
aede-policy(1) copyright validation.
The following options are understood:
-BAse_RElativeThis option may be used to cause relative filenames to be considered
relative to the base of the source tree.
See aeuconf(5) for the corresponding user preference.
-CUrrent_RElativeThis option may be used to cause relative filenames to be considered
relative to the current directory. This is usually the default.
See aeuconf(5) for the corresponding user preference.
-Change numberThis option may be used to specify a particular change within a project. See aegis(1) for a complete description of this option.
-HelpThis option may be used to obtain more information about how to use the aegis program.
-ListThis option may be used to obtain a list of suitable subjects for this command. The list may be more general than expected.
-Project nameThis option may be used to select the project of interest.
When no
-Project
option is specified,
the
AEGIS_PROJECT
environment variable is consulted.
If that does not exist,
the user's
$HOME/.aegisrc
file is examined for a default project field (see
aeuconf(5)
for more information).
If that does not exist,
when the user is only working on changes within a single project,
the project name defaults to that project.
Otherwise,
it is an error.
-TERseThis option may be used to cause listings to produce the bare minimum of information. It is usually useful for shell scripts.
-VerboseThis option may be used to cause aegis to produce more output.
By default aegis only produces output on errors.
When used with the
-List
option
this option causes column headings to be added.
-WaitThis option may be used to require Aegis commands to wait for access
locks, if they cannot be obtained immediately.
Defaults to the user's
lock_wait_preference
if not specified, see
aeuconf(5)
for more information.
-No_WaitThis option may be used to require Aegis commands to emit a fatal error
if access locks cannot be obtained immediately.
Defaults to the user's
lock_wait_preference
if not specified, see
aeuconf(5)
for more information.
See also aegis(1) for options common to all aegis commands.
All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters.
All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important.
For example:
the arguments "-project, "-PROJ" and "-p" are
all interpreted to mean the -Project option.
The argument "-prj" will not be understood,
because consecutive optional characters were not supplied.
Options and other command line arguments may be mixed arbitrarily on the command line, after the function selectors.
The GNU long option names are understood.
Since all option names for
aegis
are long,
this means ignoring the extra leading '-'.
The "--option=value" convention is also understood.
The recommended alias for this command is
csh% alias aefa 'aegis -fat \!* -v'
sh$ aefa(){aegis -fat "$@" -v}
It is an error if the current user is not an administrator of the specified project. It is an error if the current user is not the developer of the specified change. It is an error if the file is not included in the specified change.
The aegis command will exit with a status of 1 on any error. The aegis command will only exit with a status of 0 if there are no errors.
See aegis(1) for a list of environment variables which may affect
this command.
See aepconf(5) for the project configuration file's
project_specific field for how to set environment variables for
all commands executed by Aegis.
aegis version 4.22 Copyright (C) 1991-2006 Peter Miller; All rights reserved.
The aegis program comes with ABSOLUTELY NO WARRANTY; for details use the 'aegis -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'aegis -VERSion License' command.