01.01.2013 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

KSH ( 1 ) KSH ( 1 )<br />

keyword Same as -k.<br />

markdirs All directory names resulting from<br />

file name genertion have a trailing /<br />

appended.<br />

monitor<br />

noexec<br />

noglob<br />

no unset<br />

verbose<br />

track all<br />

vi<br />

vir&w<br />

xtr&ce<br />

Same as -m.<br />

Same as -n.<br />

Same as -f.<br />

Same as -u.<br />

Same as -v.<br />

Same as - h .<br />

Puts you in insert mode of a vi style<br />

in-line editor until you hit escape<br />

(character 033). This puts you in<br />

move mode. A return sends the line.<br />

Each character is processed as it is<br />

typed in vi mode.<br />

Same as -x.<br />

If no option name is supplied then the current<br />

option settings are printed.<br />

-s Sort the positional parameters.<br />

-t Exit after reading and executing one command.<br />

-u Treat unset parameters as an error when substituting.<br />

-v Print shell input lines as they are read.<br />

-x Print comands and their arguments as they are<br />

executed.<br />

Turns off -x and -v flags and stops examining<br />

arguments for flags.<br />

Do not change any of the flags; useful in setting<br />

$1 to a value beginning with -. If no arguments<br />

follow this flag then the positional parameters are<br />

unset.<br />

Using + rather than - causes these flags to be turned off.<br />

These flags can also be used upon invocation of the shell.<br />

The current set of flags may be found in $-. The remaining<br />

arguments are positional parameters and are assigned,<br />

in order, to $1, $2, •••. If no arguments are given then the<br />

values of all names are printed on the standard output.<br />

shift [ n ]<br />

The positional parameters from $n+1 ... are renamed $1<br />

... , default n is 1. The parameter n can be any arithmetic<br />

expression that evaluates to a non-negative number less<br />

than or equal to $# .<br />

- 25 -

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

Saved successfully!

Ooh no, something went wrong!