Thread: Typo for cd commands

Typo for cd commands

From
PG Doc comments form
Date:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/tutorial-sql-intro.html
Description:

I believe that the following two commands in the page
"https://www.postgresql.org/docs/13/tutorial-sql-intro.html" should have a
slash in the middle of the four dots.

cd ..../src/tutorial
cd ..../tutorial

Re: Typo for cd commands

From
Tom Lane
Date:
PG Doc comments form <noreply@postgresql.org> writes:
> I believe that the following two commands in the page
> "https://www.postgresql.org/docs/13/tutorial-sql-intro.html" should have a
> slash in the middle of the four dots.

> cd ..../src/tutorial
> cd ..../tutorial

Hmm.  The first one is written that way to be vague about what the full
path is.  "cd ../../src/tutorial" would only be correct given very
specific assumptions about what your prior working directory was.
I'm not sure what the point of the second one is, but it seems like
we should either remove it or make it look like the first one.

            regards, tom lane