]> granicus.if.org Git - python/commitdiff
Don't use $math$ mode to typeset a simple '>' sign. Use \code, not \samp.
authorGuido van Rossum <guido@python.org>
Tue, 25 Nov 1997 00:43:34 +0000 (00:43 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 25 Nov 1997 00:43:34 +0000 (00:43 +0000)
Doc/lib/libcommands.tex
Doc/libcommands.tex

index fe6f9293454c922ad0a64cffcf1f8a47bf192230..0bc2a2b3177cd6cfd72bc5e139fb1bdddd301591 100644 (file)
@@ -15,7 +15,7 @@ The \code{commands} module defines the following functions:
 \begin{funcdesc}{getstatusoutput}{cmd}
 Execute the string \var{cmd} in a shell with \code{os.popen()} and return
 a 2-tuple (status, output).  \var{cmd} is actually run as
-\samp{\{\ cmd \} ; 2$>$\$1}, so that the returned output will contain output
+\code{\{ cmd ; \} 2>\&1}, so that the returned output will contain output
 or error messages. A trailing newline is stripped from the output.
 The exit status for the  command can be interpreted according to the
 rules for the \C{} function \code{wait()}.  
index fe6f9293454c922ad0a64cffcf1f8a47bf192230..0bc2a2b3177cd6cfd72bc5e139fb1bdddd301591 100644 (file)
@@ -15,7 +15,7 @@ The \code{commands} module defines the following functions:
 \begin{funcdesc}{getstatusoutput}{cmd}
 Execute the string \var{cmd} in a shell with \code{os.popen()} and return
 a 2-tuple (status, output).  \var{cmd} is actually run as
-\samp{\{\ cmd \} ; 2$>$\$1}, so that the returned output will contain output
+\code{\{ cmd ; \} 2>\&1}, so that the returned output will contain output
 or error messages. A trailing newline is stripped from the output.
 The exit status for the  command can be interpreted according to the
 rules for the \C{} function \code{wait()}.