Content-type: text/html Manpage of ASK

ASK

Section: Shell script tools (1)
Updated: 7th December 2003
Index Return to Main Contents

 

NAME

ASK - prompt for text string

 

SYNOPSIS

ask [-usage | -help] [payload command] [prompt string] >& <log file>

 

DESCRIPTION

ask(1) prompts for a text string. If a user prompt prompt_string is supplied, ask(1) will use it as a prompt. Otherwise the (default) prompt ask> will be used. The text string is read from standard input. In addition, a payload command may also be specified. This command runs for the lifetime of the current invocation of ask(1) and is used to circumvent signal scheduling problems in shellscripts which call ask(1) for input

 

OPTIONS

-usage | -help display help and copyright information for the ask(1) filter.

prompt is the prompt which ask(1) displays. Defaults to ask>

payload specified a payload command (which may be a shell/perl/TCL script) which runs for the lifetime of the current invocation of ask(1).

 

SIGNALS

ask(1) has handlers for SIGHUP, SIGQUIT, SIGINT and SIGTERM active when running a payload command. Otherwise signal handling is default.

 

ENVIRONMENT VARIABLES

None.

 

COPYRIGHT

(C) Tumbling Dice Ltd.

 

PROGRAMMER

M.A. O'Neill.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SIGNALS
ENVIRONMENT VARIABLES
COPYRIGHT
PROGRAMMER

This document was created by man2html, using the manual pages.
Time: 13:53:35 GMT, January 11, 2008