out (1) --- specify default alternative in a case statement 02/22/82 _U_s_a_g_e case when { } when { } ... out { } esac _D_e_s_c_r_i_p_t_i_o_n 'Out' is used to flag the default alternative in a 'case' command sequence. It should appear after any command sequences introduced by 'when' commands, and will be selec- ted by the 'case' command if and only if none of the alter- natives specified by 'when' commands are taken. 'Out' is usually executed only if control falls through from the commands under the control of a 'when'. In this instance, commands are skipped until an unmatched 'esac' command is found. Use of 'out' from a terminal may cause input to be ignored until end-of-file or the typing of an 'esac' command. _E_x_a_m_p_l_e_s case [line] when 12 set location = REMOTE out set location = LOCAL esac _M_e_s_s_a_g_e_s "Missing 'esac'" if end-of-file is encountered before an 'esac' command. _B_u_g_s 'Out' is a holdover from the ALGOL 68 case-clause syntax. _S_e_e _A_l_s_o case (1), when (1), esac (1), if (1), _U_s_e_r_'_s _G_u_i_d_e _f_o_r _t_h_e _S_o_f_t_w_a_r_e _T_o_o_l_s _S_u_b_s_y_s_t_e_m _C_o_m_m_a_n_d _I_n_t_e_r_p_r_e_t_e_r out (1) - 1 - out (1)