aegis -Change_Directory(1) aegis -Change_Directory(1) NNAAMMEE aegis -Change_Directory - change directory SSYYNNOOPPSSIISS aaeeggiiss --CChhaannggee__DDiirreeccttoorryy [ _o_p_t_i_o_n... ][ _r_e_l_a_t_i_v_e_-_p_a_t_h ] aaeeggiiss --CChhaannggee__DDiirreeccttoorryy --LLiisstt [ _o_p_t_i_o_n... ] aaeeggiiss --CChhaannggee__DDiirreeccttoorryy --HHeellpp DDEESSCCRRIIPPTTIIOONN The _a_e_g_i_s _-_C_h_a_n_g_e___D_i_r_e_c_t_o_r_y command is used to obtain a path to change directory to. If the _r_e_l_a_t_i_v_e_-_p_a_t_h is supplied, this will be added to the output. This command is usually used to calculate an argument for _c_d(1), however it can also be used to obtain an absolute path for change and project files. OOPPTTIIOONNSS The following options are understood: --BBaasseeLLiinnee This option may be used to specify that the project baseline is the subject of the command. --BBRRaanncchh _n_u_m_b_e_r This option may be used to specify a different branch for the origin file, rather than the baseline. (See also --TTRRuunnkk option. Please Note: the --BBRRaanncchh option does not take a project name, just the branch number suffix. --CChhaannggee _n_u_m_b_e_r This option may be used to specify a particular change within a project. When no --CChhaannggee option is specified, the _A_E_G_I_S___C_H_A_N_G_E environment variable is consulted. If that does not exist, the user's _$_H_O_M_E_/_._a_e_g_i_s_r_c file is examined for a default change field (see _a_e_u_c_o_n_f(5) for more information). If that does not exist, when the user is only working on one change within a project, that is the default change number. Otherwise, it is an error. --DDeevveellooppmmeenntt__DDiirreeccttoorryy This option is used to specify that the development directory is the subject of the command. This is only useful for a change which is in the _b_e_i_n_g _i_n_t_e_g_r_a_t_e_d state, when the default is the integration directory. --HHeellpp This option may be used to obtain more information about how to use the _a_e_g_i_s program. --LLiisstt This option may be used to obtain a list of suitable subjects for this command. The list may be more general than expected. --PPrroojjeecctt _n_a_m_e This option may be used to select the project of interest. When no --PPrroojjeecctt option is specified, the _A_E_G_I_S___P_R_O_J_E_C_T environment variable is consulted. If that does not exist, the user's _$_H_O_M_E_/_._a_e_g_i_s_r_c file is examined for a default project field (see _a_e_u_c_o_n_f(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. --TTEERRssee This option may be used to cause listings to produce the bare minimum of information. It is usually useful for shell scripts. --TTRRuunnkk This option may be used to specify the project trunk for the origin file, rather than the baseline. (See also --BBRRaanncchh option. --VVeerrbboossee This option may be used to cause aegis to produce more output. By default aegis only produces output on errors. When used with the --LLiisstt option this option causes column headings to be added. See also _a_e_g_i_s(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 --PPrroojjeecctt 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 _a_e_g_i_s are long, this means ignoring the extra leading '-'. The "----_o_p_t_i_o_n==_v_a_l_u_e" convention is also understood. RREECCOOMMMMEENNDDEEDD AALLIIAASS The recommended alias for this command is csh% alias aecd 'cd `aegis -cd \!* -v`' sh$ aecd(){cd `aegis -cd "$@" -v`} EERRRROORRSS It is an error if the specified change is not in a state where it has a directory to change to. EEXXIITT SSTTAATTUUSS The _a_e_g_i_s command will exit with a status of 1 on any error. The _a_e_g_i_s command will only exit with a status of 0 if there are no errors. EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS See _a_e_g_i_s(1) for a list of environment variables which may affect this command. SSEEEE AALLSSOO _a_e_d_b(1) begin development of a change _a_e_i_b(1) begin integration of a change _a_e_r_p_a_s_s(1) pass review of a change _a_e_r_f_a_i_l(1) fail review of a change _a_e_u_c_o_n_f(5) user configuration file format CCOOPPYYRRIIGGHHTT aegis version .C001 Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Peter Miller; All rights reserved. The aegis program comes with ABSOLUTELY NO WARRANTY; for details use the '_a_e_g_i_s _-_V_E_R_S_i_o_n _L_i_c_e_n_s_e' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the '_a_e_g_i_s _-_V_E_R_S_i_o_n _L_i_c_e_n_s_e' command. AAUUTTHHOORR Peter Miller E-Mail: millerp@canb.auug.org.au /\/\* WWW: http://www.canb.auug.org.au/~millerp/ Reference Manual Aegis 1