about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-08-10 16:19:11 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-08-10 16:19:11 +0000
commitf6ecbb7f4d74099a0d4b342996696159344f4235 (patch)
treeb5da55d82acdc4ff4f3d8c0972be03a75a32837e /Doc
parent4239b1243a4795fc6e7207151334cce03dafe44e (diff)
downloadzsh-f6ecbb7f4d74099a0d4b342996696159344f4235.tar.gz
zsh-f6ecbb7f4d74099a0d4b342996696159344f4235.tar.xz
zsh-f6ecbb7f4d74099a0d4b342996696159344f4235.zip
12581: C_BASES option
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/options.yo13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index 7e0bba825..bc58b7084 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -206,6 +206,19 @@ Make the tt(echo) builtin compatible with the BSD manref(echo)(1) command.
 This disables backslashed escape sequences in echo strings unless the
 tt(-e) option is specified.
 )
+pindex(C_BASES)
+cindex(bases, output in C format)
+cindex(hexadecimal, output in C format)
+cindex(octal, output in C format)
+item(tt(C_BASES))(
+Output hexadecimal numbers in the standard C format, for example `tt(0xFF)'
+instead of the usual `tt(16#FF)'.  If the option tt(OCTAL_ZEROES) is also
+set (it is not by default), octal numbers will be treated similarly and
+hence appear as `tt(077)' instead of `tt(8#77)'.  This option has no effect
+on the choice of the output base, nor on the output of bases other than
+hexadecimal and octal.  Note that these formats will be understood on input
+irrespective of the setting of tt(C_BASES).
+)
 pindex(CDABLE_VARS)
 cindex(cd, to parameter)
 item(tt(CDABLE_VARS) (tt(-T)))(