Lines Matching full:shell
31 Shell control structures and command scripts
38 .I "shell scripts."
39 We here detail those features of the shell useful to the writers of such
44 It is important to first note what shell scripts are
60 This format is superior and preferable to maintaining a group of shell
86 The shell places these arguments in the variable
90 which are used to reference any other shell variables.
98 and place a shell comment at the beginning of the shell script
105 If the file does not begin with a `#' then the standard shell
107 This allows you to convert your older shell scripts to use
127 to be echoed to the output of the shell script.
186 would give `a b'. Other notations useful in shell scripts are
210 expands to the process number of the current shell.
218 the shell's standard input (not the script it is reading). This is
219 useful for writing shell scripts that are interactive, reading
220 commands from the terminal, or even writing a shell script that
253 In order for interesting shell scripts to be constructed it
254 must be possible to evaluate expressions in the shell based on the
257 in the shell
266 The shell also allows file enquiries of the form
294 section for the shell.
296 Sample shell script
298 A sample shell script which makes use of the expression mechanism
299 of the shell and some of its control structure follows:
328 command, which causes the shell to execute the commands between the
351 This is a good idea, in general, if the arguments to a shell script
366 flexible due to the current implementation of the shell.\(dg
368 \(dgThe following two formats are not currently acceptable to the shell:
389 The shell does have another form of the if statement of the form
426 Another important mechanism used in shell scripts is the `:' modifier.
455 on strings to then reenter the shell's environment.
460 the current implementation of the shell limits the number of `:' modifiers
474 Finally, we note that the character `#' lexically introduces a shell
475 comment in shell scripts (but not from the terminal).
477 by the shell.
483 The shell also has control structures
548 Commands run from shell scripts receive by default the standard
549 input of the shell which is running the script.
551 under \s-2UNIX\s0. It allows shell scripts to fully participate
556 shell scripts.
574 command is to come from the text in the shell script file
577 causes the shell to not perform variable substitution on the
580 shell uses to terminate the text to be given to the command is quoted
594 If our shell script creates temporary files, we may wish to catch
595 interruptions of the shell script so that we can clean up
604 If an interrupt is received the shell will do a
608 command (which is built in to the shell)
609 to exit from the shell script.
618 There are other features of the shell useful to writers of shell
628 command line options can be used to help trace the actions of the shell.
631 option causes the shell only to read commands and not to execute
636 will not execute shell scripts which do not begin with the
637 character `#', that is shell scripts that do not begin with a comment.
639 to interpret shell scripts which begin with `#'.
640 This allows shell scripts for both shells to live in harmony.