summaryrefslogtreecommitdiff
path: root/Doc/lib/libcommands.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libcommands.tex')
-rw-r--r--Doc/lib/libcommands.tex12
1 files changed, 0 insertions, 12 deletions
diff --git a/Doc/lib/libcommands.tex b/Doc/lib/libcommands.tex
index fa9b464f86..4a5fa55b44 100644
--- a/Doc/lib/libcommands.tex
+++ b/Doc/lib/libcommands.tex
@@ -35,16 +35,6 @@ Like \function{getstatusoutput()}, except the exit status is ignored
and the return value is a string containing the command's output.
\end{funcdesc}
-\begin{funcdesc}{getstatus}{file}
-Return the output of \samp{ls -ld \var{file}} as a string. This
-function uses the \function{getoutput()} function, and properly
-escapes backslashes and dollar signs in the argument.
-
-\deprecated{2.6}{This function is nonobvious and useless,
- also the name is misleading in the presence of
- \function{getstatusoutput()}.}
-\end{funcdesc}
-
Example:
\begin{verbatim}
@@ -57,8 +47,6 @@ Example:
(256, 'sh: /bin/junk: not found')
>>> commands.getoutput('ls /bin/ls')
'/bin/ls'
->>> commands.getstatus('/bin/ls')
-'-rwxr-xr-x 1 root 13352 Oct 14 1994 /bin/ls'
\end{verbatim}
\begin{seealso}