X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=basis%2Fio%2Ffiles%2Finfo%2Funix%2Funix-docs.factor;h=82d1e727f947ffbd2f2ea172ad30d8ba1acde5a7;hp=c8fc965eca1e723b66f0e8070f067fd97664fd75;hb=943596575ad294c074dfa381b70af74dba5992b1;hpb=e738c7206c32bd9b76f3cee31e950835e1b1ee24 diff --git a/basis/io/files/info/unix/unix-docs.factor b/basis/io/files/info/unix/unix-docs.factor index c8fc965eca..82d1e727f9 100644 --- a/basis/io/files/info/unix/unix-docs.factor +++ b/basis/io/files/info/unix/unix-docs.factor @@ -103,7 +103,7 @@ HELP: set-file-permissions { $description "Sets the file permissions for a given file with the supplied Unix permissions integer. Supplying an octal number with " { $link POSTPONE: OCT: } " is recommended." } { $examples "Using the tradidional octal value:" { $code "USING: io.files.info.unix kernel ;" - "\"resource:license.txt\" OCT: 755 set-file-permissions" + "\"resource:license.txt\" 0o755 set-file-permissions" } "Higher-level, setting named bits:" { $code "USING: io.files.info.unix kernel literals ;"