16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

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.

a Aliases<br />

b Bindings (editor commands)<br />

d Directories<br />

D Directories which begin with the supplied path prefix<br />

e Environment variables<br />

f Filenames<br />

F Filenames which begin with the supplied path prefix<br />

g Groupnames<br />

j Jobs<br />

l Limits<br />

n Nothing<br />

s Shell variables<br />

S Signals<br />

t Plain (text) files<br />

T Plain (text) files which begin with the supplied path prefix<br />

v Any variables<br />

u Usernames<br />

x Like n, but prints select when list-choices is used<br />

X Completions<br />

$var Words from the variable var<br />

(...) Words from the given list<br />

... Words from the output of command<br />

select select is an optional glob-pattern. If given, only words from list which match<br />

select are considered and the fignore shell variable is ignored. The last<br />

three types of completion may not have a select pattern, and x uses select<br />

as an explanatory message when the list-choices editor command is used.<br />

suffix suffix is a single character to be appended to a successful completion. If<br />

null, no character is appended. If omitted (in which case the fourth delimiter<br />

can also be omitted), a slash is appended to directories and a space to<br />

other words.<br />

Examples<br />

1. Some commands take only directories as arguments, so there is no point in<br />

completing plain files. For example:<br />

> complete cd ’p/1/d/’<br />

completes only the first word following cd (p/1) with a directory.<br />

2. p-type completion can be used to narrow down command completion. For<br />

example:<br />

> co[^D]<br />

complete compress<br />

> complete -co* ’p/0/(compress)/’<br />

> co[^D]<br />

> compress<br />

tcsh: complete<br />

Chapter 2. Shell command descriptions 677

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

Saved successfully!

Ooh no, something went wrong!