Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: amv Up: Code management Previous: alog

Subsections



am

Utility to change the descriptive text in an AIPS++ RCS version file.

Synopsis

am [-au] file1 [file2 ...]

Description

am changes the descriptive text in an existing AIPS++ RCS version file or files. It is a front-end for the RCS rcs command with option -t. The descriptive text will be obtained from stdin.

am assumes that you are working within a private directory tree which shadows that of the AIPS++ master source code tree, see mktree (p[*]). The filename arguments specified to am must be simple filenames without path or RCS (,v) suffix. am determines the corresponding master directory from the current working directory.

am modifies the master RCS version file by executing $MSTRETCD/am_master, where $AIPSMSTR is expected to be NFS mounted from the AIPS++ master host (see §1.1.4).

Options

-au
After modifying the master RCS version file, am copies it back to the local slave RCS repository (if it exists), giving it a file ownership defined by the owner of am (aips2mgr at the local site). am itself must be setuid to this account.

Notes

Diagnostics

Status return values
0: success
1: initialization error
2: failed to update the master
3: updated master, but slave not updated

Examples

The command

   cd $HOME/aips++/code/install/codemgmt
   am -au am

would allow the descriptive text for am to be changed interactively.

Bugs

See also

The unix manual page for chmod(1).
AIPS++ variable names (§1.2).
ae (p[*]), AIPS++ RCS semaphore file deletion utility.
ai (p[*]), AIPS++ code checkin utility.
alog (p[*]), AIPS++ change log reporting utility.
amv (p[*]), AIPS++ code rename utility.
au (p[*]), AIPS++ code update utility.
ax (p[*]), AIPS++ code deletion utility.
mktree (p[*]), create AIPS++ directory hierarchy.

Author

Original: 1995/03/17 by Mark Calabretta, ATNF.


next up previous contents index
Next: amv Up: Code management Previous: alog   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15