git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fish: Print output from some commands in octal/hex as approp. (RHBZ#583242).
[libguestfs.git]
/
fish
/
guestfish.pod
diff --git
a/fish/guestfish.pod
b/fish/guestfish.pod
index
e5f0bba
..
dfacf6f
100644
(file)
--- a/
fish/guestfish.pod
+++ b/
fish/guestfish.pod
@@
-313,7
+313,9
@@
the Unix L<chmod(1)> program):
chmod 0777 /public # OK
chmod 777 /public # WRONG! This is mode 777 decimal = 01411 octal.
chmod 0777 /public # OK
chmod 777 /public # WRONG! This is mode 777 decimal = 01411 octal.
-Commands that return numbers currently always print them in decimal.
+Commands that return numbers usually print them in decimal, but
+some commands print numbers in other radices (eg. C<umask> prints
+the mode in octal, preceeded by C<0>).
=head1 WILDCARDS AND GLOBBING
=head1 WILDCARDS AND GLOBBING