From 677e53f06a12981dd912695cf3c8ade32c4d476d Mon Sep 17 00:00:00 2001 From: Giorgio Gallo Date: Sun, 20 Oct 2024 14:33:36 +0200 Subject: [PATCH] fix documentation for `path normalize` --- doc_src/cmds/path.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/cmds/path.rst b/doc_src/cmds/path.rst index e1ecfbe22..7182c2f5c 100644 --- a/doc_src/cmds/path.rst +++ b/doc_src/cmds/path.rst @@ -279,7 +279,7 @@ Examples path normalize [-z | --null-in] [-Z | --null-out] [-q | --quiet] [PATH ...] -``path normalize`` returns the normalized versions of all paths. That means it squashes duplicate "/" (except for two leading "//"), collapses "../" with earlier components and removes "." components. +``path normalize`` returns the normalized versions of all paths. That means it squashes duplicate "/", collapses "../" with earlier components and removes "." components. Unlike ``realpath`` or ``path resolve``, it does not make the paths absolute. It also does not resolve any symlinks. As such it can operate on non-existent paths.