AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

(�

MESSAGE( ! ) ( AT&T UNIX PC only ) MESSAGE ( ! ) NAME message - display error and help messages SYNOPSIS message [-u] [-e] [-i] text DESCRIPTION Message allows the shell programmer access to the message(3T) subroutine. Text is a text string with the standard special character conventions: \n for newline, etc. The possible options are: -u Use the current window for the messages-resizes it to fit. -e Create a confirmation message (see MT_CONFffiM in message(3T)). -i Create a pop-up message-press any key to return to the caller (see MT_POPUP in message(3T)). If no options are set, message(l) will generate an error message (see MT....ERROR in message(3T)). EXAMPLES The following example prints a confirmation message using the current window: message -uc "Do you wish to continue" if [ "$?" != "O" I then exit fi SEE ALSO message(3T), shform( l), tam(3T). - 1 -

(�

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!