OSDN Git Service

Fix up examples of sh/ksh PATH environment variable definition.
authorThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 4 May 1999 02:57:13 +0000 (02:57 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 4 May 1999 02:57:13 +0000 (02:57 +0000)
doc/src/sgml/environ.sgml
doc/src/sgml/runtime.sgml
doc/src/sgml/start.sgml

index 862ccbd..13bdd3f 100644 (file)
@@ -32,8 +32,8 @@ set path = ( /usr/local/pgsql/bin path )
      a  variant  of  the  Bourne  shell, such as <Application>sh</Application>, <Application>ksh</Application>, or
      <Application>bash</Application>, then you would add
 <ProgramListing>
-PATH=/usr/local/pgsql/bin PATH
-export PATH
+$ PATH=/usr/local/pgsql/bin:$PATH
+export PATH
 </ProgramListing>
      to the <FileName>.profile</FileName> file in your home directory.
      From now on, we will assume that  you  have  added  the
index 774c19c..af6b300 100644 (file)
@@ -62,7 +62,7 @@ set path = ( /usr/local/pgsql/bin path )
      a  variant  of  the  Bourne  shell, such as sh, ksh, or
      bash, then you would add
 <ProgramListing>
-PATH=/usr/local/pgsql/bin PATH
+PATH=/usr/local/pgsql/bin:$PATH
 export PATH
 </ProgramListing>
      to the .profile file in your home directory.
index 12390f0..592b35f 100644 (file)
@@ -67,7 +67,7 @@ of a client application is the interactive monitor <Application>psql</Applicatio
      a  variant  of  the  Bourne  shell, such as sh, ksh, or
      bash, then you would add
 <ProgramListing>
-% PATH=/usr/local/pgsql/bin PATH
+% PATH=/usr/local/pgsql/bin:$PATH
 % export PATH
 </ProgramListing>
      to the .profile file in your home directory.