From aa2cc6ebbefe4b5d573838b36cc4d44d6643760d Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 16 Aug 1999 19:59:25 +0000
Subject: [PATCH] Change >& to > and 2>&1.

---
 doc/src/sgml/install.sgml | 6 +++---
 doc/src/sgml/runtime.sgml | 2 +-
 doc/src/sgml/trouble.sgml | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/src/sgml/install.sgml b/doc/src/sgml/install.sgml
index 311d13087b6..3f68396c5b4 100644
--- a/doc/src/sgml/install.sgml
+++ b/doc/src/sgml/install.sgml
@@ -546,7 +546,7 @@ Compile the program.  Type
 
 <ProgramListing>
 $ cd /usr/src/pgsql/src
-$ gmake all >& make.log &
+$ gmake all > make.log 2>&1 &
 $ tail -f make.log
 </ProgramListing>
 </Para>
@@ -589,7 +589,7 @@ then recompile again.
      be specified on the command line using the COPT variable.
      For example, typing
 <ProgramListing>
-$ gmake COPT="-g" all >& make.log &
+$ gmake COPT="-g" all > make.log 2>&1 &
 </ProgramListing>
      would invoke your compiler's <option>-g</option> option in all steps of the
      build.  See <filename>src/Makefile.global.in</filename> for further details.
@@ -601,7 +601,7 @@ $ gmake COPT="-g" all >& make.log &
  Install the program.  Type
 <ProgramListing>
 $ cd /usr/src/pgsql/src
-$ gmake install >& make.install.log &
+$ gmake install > make.install.log 2>&1 &
 $ tail -f make.install.log
 </ProgramListing>
 </Para>
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 521dcb9d17d..bfab6603397 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -62,7 +62,7 @@
     the log file:
 
     <ProgramListing>
-% postmaster -d >& pm.log &
+% postmaster -d > pm.log 2>&1 &
     </ProgramListing>
 
     If you do not wish to see these messages, you can type
diff --git a/doc/src/sgml/trouble.sgml b/doc/src/sgml/trouble.sgml
index 7ae6dbaa2dc..776e96f7163 100644
--- a/doc/src/sgml/trouble.sgml
+++ b/doc/src/sgml/trouble.sgml
@@ -148,7 +148,7 @@ FATAL 1:  Database testdb does not exist in pg_database
     the log file:
 
     <ProgramListing>
-% postmaster -d >& pm.log &
+% postmaster -d > pm.log 2>&1 &
     </ProgramListing>
 
     If you do not wish to see these messages, you can type
-- 
GitLab