Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Operands<br />
Exit Status<br />
Related information<br />
Examples<br />
v -p Do not check to see if name is a reserved word, a built-in utility, an alias, or a<br />
function.<br />
v -v Display the type of name.<br />
Each name is a utility in the current environment.<br />
v 0 when every name is found<br />
v >0 when unsuccessful<br />
v “command - Run a simple command”<br />
v “dot (.) - Run commands in current environment”<br />
v “eval - Construct command by concatenating arguments”<br />
1. Find the type of the reserved word for: whence for<br />
[ Legal | AS/400 Glossary ]<br />
Utilities for manipulating data<br />
The following are <strong>Qshell</strong> utilities for manipulating data:<br />
v grep - Search a file for a pattern<br />
v split - Split files into pieces<br />
v uniq - Report or filter out repeated lines in a file<br />
[ Legal | AS/400 Glossary ]<br />
grep - Search a file for a pattern<br />
Synopsis<br />
Description<br />
38 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />
grep [-E|-F] [-c|-l|-q] [-ihnsvwxy] [-e pattern_list] [-f pattern_file] [pattern] [file ...]<br />
The grep utility searches the given input files selecting lines which match one or<br />
more patterns; the type of patterns is controlled by the options specified. By default,<br />
a pattern matches an input line if any regular expression (RE) in the pattern<br />
matches the input line without its trailing newline. A null RE matches every line.<br />
Each input line that matches at least one of the patterns is written to the standard<br />
output.<br />
If -E and -F options are both specified, the last one specified will be used.