]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/files/info/unix/unix-docs.factor
use radix literals
[factor.git] / basis / io / files / info / unix / unix-docs.factor
index c8fc965eca1e723b66f0e8070f067fd97664fd75..82d1e727f947ffbd2f2ea172ad30d8ba1acde5a7 100644 (file)
@@ -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 ;"