Skip to content

Commit 6b54977

Browse files
author
Thomas G. Lockhart
committed
Fix up examples of sh/ksh PATH environment variable definition.
1 parent 2289009 commit 6b54977

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/src/sgml/environ.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ set path = ( /usr/local/pgsql/bin path )
3232
a variant of the Bourne shell, such as <Application>sh</Application>, <Application>ksh</Application>, or
3333
<Application>bash</Application>, then you would add
3434
<ProgramListing>
35-
PATH=/usr/local/pgsql/bin PATH
36-
export PATH
35+
$ PATH=/usr/local/pgsql/bin:$PATH
36+
$ export PATH
3737
</ProgramListing>
3838
to the <FileName>.profile</FileName> file in your home directory.
3939
From now on, we will assume that you have added the

doc/src/sgml/runtime.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ set path = ( /usr/local/pgsql/bin path )
6262
a variant of the Bourne shell, such as sh, ksh, or
6363
bash, then you would add
6464
<ProgramListing>
65-
PATH=/usr/local/pgsql/bin PATH
65+
PATH=/usr/local/pgsql/bin:$PATH
6666
export PATH
6767
</ProgramListing>
6868
to the .profile file in your home directory.

doc/src/sgml/start.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ of a client application is the interactive monitor <Application>psql</Applicatio
6767
a variant of the Bourne shell, such as sh, ksh, or
6868
bash, then you would add
6969
<ProgramListing>
70-
% PATH=/usr/local/pgsql/bin PATH
70+
% PATH=/usr/local/pgsql/bin:$PATH
7171
% export PATH
7272
</ProgramListing>
7373
to the .profile file in your home directory.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy