ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahz_5.4.0.1/quoting.htm

43 lines
1.6 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8">
<title>Quoting</title>
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</HEAD>
<body bgcolor="#FFFFFF">
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h2>Quoting</h2>
<p>Use quoting to remove the special meaning of certain characters
to <strong>qsh</strong>. The following characters may be used:</p>
<ul>
<li>The escape character (backslash) to remove the special meaning
of the following character with the exception of &lt;newline&gt;.
If a &lt;newline&gt; follows the backslash, <strong>qsh</strong>
interprets it as a line continuation. For example, <strong>
\$</strong> removes the special meaning of the dollar sign.</li>
<li>Literal (or single) quotation marks (<strong>'...'</strong>) to remove
the special meaning of all characters except the single quotation mark.</li>
<li>Grouping (or double) quotation marks (<strong>"..."</strong>) to remove
the special meaning of all characters except dollar sign
(<strong>$</strong>), back quotation mark (<strong>`</strong>), and backslash
(<strong>\</strong>). The backslash retains its special meaning as
an escape character only when it is followed by a dollar sign
(<strong>$</strong>), back quotation mark (<strong>`</strong>), double quotation mark
(<strong>"</strong>), backslash (<strong>\</strong>), or
&lt;newline&gt;.</li>
</ul>
</body>
</html>