From ac67370e15a2699bb751b450998abe5b1e00f806 Mon Sep 17 00:00:00 2001 From: Keita Haga Date: Fri, 14 Jan 2011 20:07:10 +0900 Subject: [PATCH] io.pathnames: enclose a few example outputs in double quote characters --- core/io/pathnames/pathnames-docs.factor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/io/pathnames/pathnames-docs.factor b/core/io/pathnames/pathnames-docs.factor index a3b9338978..dbbb886312 100644 --- a/core/io/pathnames/pathnames-docs.factor +++ b/core/io/pathnames/pathnames-docs.factor @@ -51,7 +51,7 @@ HELP: append-path { $examples { $unchecked-example """USING: io.pathnames prettyprint ; "first" "second.txt" append-path .""" -"first/second.txt" +"\"first/second.txt\"" } } ; @@ -61,7 +61,7 @@ HELP: prepend-path { $examples { $unchecked-example """USING: io.pathnames prettyprint ; "second.txt" "first" prepend-path .""" -"first/second.txt" +"\"first/second.txt\"" } } ; @@ -124,7 +124,7 @@ HELP: home { $examples { $unchecked-example "USING: io.pathnames prettyprint ;" "home ." - "/home/factor-user" + "\"/home/factor-user\"" } } ; @@ -142,7 +142,7 @@ ARTICLE: "io.pathnames.presentations" "Pathname presentations" "Literal pathname presentations:" { $subsections POSTPONE: P" } "Many words that accept pathname strings can also work on pathname presentations." ; - + ARTICLE: "io.pathnames" "Pathnames" "Pathnames are strings that refer to a file on disk. Pathname semantics are platform-specific, and Factor makes no attempt to abstract away the differences. Note that on Windows, both forward and backward slashes are accepted as directory separators." $nl