diff options
author | tjr <tjr@FreeBSD.org> | 2002-05-25 12:11:58 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-05-25 12:11:58 +0000 |
commit | 290ce9e46606d008f6d60d1fe24ff8a8d4f71032 (patch) | |
tree | ccb1108e566e14015f8083fb1aef065262fb1ec3 /bin/sh/sh.1 | |
parent | 8f932f078dbf7a2b74e03bcdf653e190324f1174 (diff) | |
download | FreeBSD-src-290ce9e46606d008f6d60d1fe24ff8a8d4f71032.zip FreeBSD-src-290ce9e46606d008f6d60d1fe24ff8a8d4f71032.tar.gz |
Implement `set +o', which displays the currently set options in a format
suitable for re-input into the shell.
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r-- | bin/sh/sh.1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 8518687..a5c61e8 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -301,6 +301,14 @@ command line editor: set -E set -o emacs .Ed +.Pp +If used without an argument, the +.Fl o +option displays the current option settings in a human-readable format. +If +.Cm +o +is used without an argument, the current option settings are output +in a format suitable for re-input into the shell. .Ss Lexical Structure The shell reads input in terms of lines from a file and breaks it up into words at whitespace (blanks and tabs), and at |