29.06.2013 Views

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Related Information<br />

print - Write output<br />

Synopsis<br />

Description<br />

Options<br />

Operands<br />

Exit status<br />

Related information<br />

74 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />

v tee - Duplicate standard input<br />

[ Legal | AS/400 Glossary ]<br />

print [ -nrR] [-u[ n ]][ argument ... ]<br />

You can use print to display each argument on standard output separated by a<br />

character and followed by a character.<br />

Unless you specify -r or -R, print formats the output using the following conventions:<br />

v \a Bell.<br />

v \b Backspace.<br />

v \c Print without adding newline character. The remaining argument(s) are<br />

ignored.<br />

v \f Formfeed.<br />

v \n Newline.<br />

v \r Return.<br />

v \t Tab.<br />

v \v Vertical tab.<br />

v \\ Backslash.<br />

v \0x The character whose EBCDIC code is the 1, 2, or 3-digit octal number x.<br />

v -n Do not add a trailing newline character to the output.<br />

v -r Do not use the conventions listed above.<br />

v -R Do not use the conventions listed above.<br />

v -u Write output to descriptor n if specified or descriptor 1 by default. The<br />

descriptor must be 1, 2, or one you opened with exec.<br />

Each argument is printed on standard output.<br />

v 0 when successful.<br />

v >0 wnen unsuccessful.<br />

v “echo - Write arguments to standard output”<br />

v “printf - Write formatted output”

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

Saved successfully!

Ooh no, something went wrong!