Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
The backslash z/OS UNIX System Services User's Guide SA23-2279-00 |
|
The backslash character (\) turns off the special meaning of the
character that follows it. For example:
prints:
If you just try:
without the
backslash, the shell prints a > prompt after you press <Enter>instead
of the usual $. The > prompt is a continuation prompt. An apostrophe ' without
a backslash is taken to be the start of a string and the shell assumes
that the string keeps going until you type another apostrophe, even
if that goes on for several lines. The shell does not process the
string until you type the closing apostrophe.So remember to put a backslash in front of any special character, unless you know its special meaning and you want that meaning. Because a backslash itself is a special character, you must type two of them whenever you want a single backslash. |
Copyright IBM Corporation 1990, 2014
|