Suggested patches: backout reload status change, allow atomic restart, remove --version

Tobias Burnus <[email protected]>
Newsgroups gmane.linux.lsb.discuss
Message-ID <[email protected]>
Hello all,

here are some suggested patches:
a) [important] Back-out change of (force-)reload returning success (0) if
   not running
b) [enhancement] Allow atomic behaviour of (try-)restart and (force-)reload
c) [enhancement] Remove all LSB depreciated --version/--help options in
   command behaviour

A detailed description can be found below

Tobias


*** gLSB: Sysinit: Init actions: Revert (force-)reload status if not running
Severity: High
gLSB-1.3: http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/iniscrptact.html
gLSB-1.9: http://www.linuxbase.org/spec/gLSB/gLSB/iniscrptact.html
Discussion:
  http://freestandards.org/pipermail/lsb-discuss/2003-August/001739.html
  http://freestandards.org/pipermail/lsb-discuss/2003-August/001745.html

Patch: sysinit-revert-reload-status.diff
  Goes back to the previous status by removing
  - running "reload" on a service already stopped or not running
  - running "force-reload" on a service already stopped or not running
  from the actions that should be regarded as SUCCESSFUL (status code 0),
  i.e. a "program is not running" (7) should (again) be returned.

Reasoning:
  Previous behaviour is widely used and gives more details about the
  status. Making only needed changes is also a plus!
  Especially since there is no convincing reason for this change.



*** gLSB: Sysinit: Init actions: Allow (try-)restart to be atomic
Severity: Enhancement
gLSB-1.3: http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/iniscrptact.html
gLSB-1.9: http://www.linuxbase.org/spec/gLSB/gLSB/iniscrptact.html
Discussion:
  http://freestandards.org/pipermail/lsb-discuss/2003-August/001729.html
  [...]
  http://freestandards.org/pipermail/lsb-discuss/2003-August/001748.html

Patch: sysinit-atomic-restart.diff
  Adds "The restart, try-restart, reload and force-reload action
  may be atomic; i.e. if a service is known not be operational after
  a restart or reload, the script may return an error without any
  further action."

Reasoning:
  It makes sense for programs like sshd which offer the possibility
  to test the configfiles for errors. Especially when ssh is used
  for remote administration. Proposed by Caldera.

Note: This does not force the use of atomic reload. Is the exit status
code clear in this case?



*** Commands: Remove depreciated --help and --version
Severity: Enhancement
gLSB-1.3: http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/cmdbehav.html
gLSB-1.9: http://www.linuxbase.org/spec/gLSB/gLSB/cmdbehav.html
LSB  Bug: [ 789226 ] Drop --help/--version for LSB 2.0

http://sourceforge.net/tracker/index.php?func=detail&aid=789226&group_id=1107&atid=101107
Discussion:
  http://freestandards.org/pipermail/lsb-discuss/2003-August/001749.html

Patch: commands-remove--version.diff
  Removes --version, -V/-v (where used to show the version), --help
  (where used for showing the help) from the LSB depreciated section of
the
  command behaviour. Non-depreciated --version's have been left untouched.

Reasoning: They are deprecitated since 1.2, not needed to use the
  commands (especially true for --version) and are for some commands the
  only difference to the SUS.

Note: This will only affect applications which want to be LSB 2.0 conform
  and since >90% use the GNU tools anyway even --version/--help will
  continue work on LSB 2.0 systems.
Note: If it is too late for 1.9 it could still be used for 2.0 which
  should get some further cleaning.
sysinit-revert-reload-status.diff (text/plain, 726 B)
Index: sysinit/initactions.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/sysinit/initactions.sgml,v
retrieving revision 1.10
diff -u -r1.10 initactions.sgml
--- sysinit/initactions.sgml	12 Aug 2003 21:31:28 -0000	1.10
+++ sysinit/initactions.sgml	20 Aug 2003 15:42:31 -0000
@@ -89,12 +92,6 @@
 </PARA></LISTITEM>
 <LISTITEM><PARA>
 running "try-restart" on a service already stopped or not running
-</PARA></LISTITEM>
-<LISTITEM><PARA>
-running "reload" on a service already stopped or not running
-</PARA></LISTITEM>
-<LISTITEM><PARA>
-running "force-reload" on a service already stopped or not running
 </PARA></LISTITEM>
 </ITEMIZEDLIST>
sysinit-atomic-restart.diff (text/plain, 942 B)
Index: sysinit/initactions.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/sysinit/initactions.sgml,v
retrieving revision 1.10
diff -u -r1.10 initactions.sgml
--- sysinit/initactions.sgml	12 Aug 2003 21:31:28 -0000	1.10
+++ sysinit/initactions.sgml	20 Aug 2003 15:42:31 -0000
@@ -33,7 +33,10 @@
 <PARA>
 If a service reloads its configuration automatically (as in the case
 of cron, for example), the reload option of the init file shall
-behave as if the configuration has been reloaded successfully.
+behave as if the configuration has been reloaded successfully. The restart,
+try-restart, reload and force-reload action may be atomic; i.e. if a service
+is known not be operational after a restart or reload, the script may return
+an error without any further action.
 </PARA>
 <PARA>
 These executable files shall not fail obscurely when the configuration
commands-remove--version.diff (text/plain, 31.7 KB)
? command/command.diff
Index: command/at.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/at.sgml,v
retrieving revision 1.8
diff -u -r1.8 at.sgml
--- command/at.sgml	15 Jul 2002 22:57:07 -0000	1.8
+++ command/at.sgml	20 Aug 2003 16:27:40 -0000
@@ -73,15 +73,6 @@
 </VARLISTENTRY>
 
 <VARLISTENTRY>
-<TERM>-V</TERM>
-<LISTITEM>
-<PARA>
-prints the version number to standard error.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>-v</TERM>
 <LISTITEM>
 <PARA>
Index: command/batch.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/batch.sgml,v
retrieving revision 1.4
diff -u -r1.4 batch.sgml
--- command/batch.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/batch.sgml	20 Aug 2003 16:27:40 -0000
@@ -67,15 +67,6 @@
 </VARLISTENTRY>
 
 <VARLISTENTRY>
-<TERM>-V</TERM>
-<LISTITEM>
-<PARA>
-prints the version number to standard error.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>-v</TERM>
 <LISTITEM>
 <PARA>
Index: command/bc.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/bc.sgml,v
retrieving revision 1.7
diff -u -r1.7 bc.sgml
--- command/bc.sgml	15 Jul 2002 22:57:07 -0000	1.7
+++ command/bc.sgml	20 Aug 2003 16:27:40 -0000
@@ -59,15 +59,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>-v, --version</TERM>
-<LISTITEM>
-<PARA>
-prints the version number and copyright and quits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/cat.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/cat.sgml,v
retrieving revision 1.7
diff -u -r1.7 cat.sgml
--- command/cat.sgml	20 Nov 2002 16:15:43 -0000	1.7
+++ command/cat.sgml	20 Aug 2003 16:27:40 -0000
@@ -116,15 +116,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/chgrp.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/chgrp.sgml,v
retrieving revision 1.6
diff -u -r1.6 chgrp.sgml
--- command/chgrp.sgml	15 Jul 2002 22:57:07 -0000	1.6
+++ command/chgrp.sgml	20 Aug 2003 16:27:40 -0000
@@ -89,16 +89,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exit.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/chmod.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/chmod.sgml,v
retrieving revision 1.5
diff -u -r1.5 chmod.sgml
--- command/chmod.sgml	15 Jul 2002 22:57:07 -0000	1.5
+++ command/chmod.sgml	20 Aug 2003 16:27:40 -0000
@@ -70,15 +70,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/chown.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/chown.sgml,v
retrieving revision 1.8
diff -u -r1.8 chown.sgml
--- command/chown.sgml	14 Aug 2003 12:26:29 -0000	1.8
+++ command/chown.sgml	20 Aug 2003 16:27:40 -0000
@@ -108,15 +108,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/cp.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/cp.sgml,v
retrieving revision 1.5
diff -u -r1.5 cp.sgml
--- command/cp.sgml	14 Aug 2003 12:26:03 -0000	1.5
+++ command/cp.sgml	20 Aug 2003 16:27:40 -0000
@@ -198,15 +198,6 @@
 </listitem>
 </varlistentry>
 
-<varlistentry>
-<term>--version</term>
-<listitem>
-<para>
-outputs version information and exits.
-</para>
-</listitem>
-</varlistentry>
-
 </variablelist>
 </REFSECT1>
 
Index: command/csplit.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/csplit.sgml,v
retrieving revision 1.4
diff -u -r1.4 csplit.sgml
--- command/csplit.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/csplit.sgml	20 Aug 2003 16:27:40 -0000
@@ -55,15 +55,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exit.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/cut.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/cut.sgml,v
retrieving revision 1.6
diff -u -r1.6 cut.sgml
--- command/cut.sgml	20 Nov 2002 16:15:44 -0000	1.6
+++ command/cut.sgml	20 Aug 2003 16:27:40 -0000
@@ -34,25 +34,4 @@
 </VARIABLELIST>
 </REFSECT1>
 
-<refsect1>
-<title>LSB Deprecated Differences</title>
-
-<para>The behaviors specified in this section are expected to
-disappear from a future version of the LSB; applications should only
-use the non-LSB-deprecated behaviors.</para>
-
-<variablelist>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</variablelist>
-</refsect1>
-
 </REFENTRY>
Index: command/date.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/date.sgml,v
retrieving revision 1.6
diff -u -r1.6 date.sgml
--- command/date.sgml	15 Jul 2002 22:57:07 -0000	1.6
+++ command/date.sgml	20 Aug 2003 16:27:40 -0000
@@ -81,15 +81,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/du.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/du.sgml,v
retrieving revision 1.8
diff -u -r1.8 du.sgml
--- command/du.sgml	20 Nov 2002 16:15:44 -0000	1.8
+++ command/du.sgml	20 Aug 2003 16:27:40 -0000
@@ -163,15 +163,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/find.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/find.sgml,v
retrieving revision 1.6
diff -u -r1.6 find.sgml
--- command/find.sgml	6 Nov 2002 06:28:11 -0000	1.6
+++ command/find.sgml	20 Aug 2003 16:27:40 -0000
@@ -97,15 +97,6 @@
 </VARLISTENTRY>
 
 <VARLISTENTRY>
-<TERM>-version</TERM>
-<LISTITEM>
-<PARA>
-prints the find version number and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>-amin n</TERM>
 <LISTITEM>
 <PARA>
Index: command/fuser.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/fuser.sgml,v
retrieving revision 1.9
diff -u -r1.9 fuser.sgml
--- command/fuser.sgml	12 Aug 2003 21:34:14 -0000	1.9
+++ command/fuser.sgml	20 Aug 2003 16:27:40 -0000
@@ -153,15 +153,6 @@
 </VARLISTENTRY>
 
 <VARLISTENTRY>
-<TERM>-V</TERM>
-<LISTITEM>
-<PARA>
-displays version information.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>-</TERM>
 <LISTITEM>
 <PARA>
Index: command/grep.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/grep.sgml,v
retrieving revision 1.7
diff -u -r1.7 grep.sgml
--- command/grep.sgml	12 Aug 2003 21:34:14 -0000	1.7
+++ command/grep.sgml	20 Aug 2003 16:27:40 -0000
@@ -242,15 +242,6 @@
 </VARLISTENTRY>
 
 <VARLISTENTRY>
-<TERM>-V, --version</TERM>
-<LISTITEM>
-<PARA>
-prints the version number of grep to standard error.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>--invert-match</TERM>
 <LISTITEM>
 <PARA>
Index: command/ln.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/ln.sgml,v
retrieving revision 1.5
diff -u -r1.5 ln.sgml
--- command/ln.sgml	12 Jul 2002 18:59:10 -0000	1.5
+++ command/ln.sgml	20 Aug 2003 16:27:40 -0000
@@ -109,15 +109,6 @@
 </listitem>
 </varlistentry>
 
-<varlistentry>
-<term>--version</term>
-<listitem>
-<para>
-outputs version information and exits.
-</para>
-</listitem>
-</varlistentry>
-
 </variablelist>
 </REFSECT1>
 
Index: command/m4.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/m4.sgml,v
retrieving revision 1.7
diff -u -r1.7 m4.sgml
--- command/m4.sgml	15 Jul 2002 22:57:07 -0000	1.7
+++ command/m4.sgml	20 Aug 2003 16:27:40 -0000
@@ -52,15 +52,6 @@
 <VARIABLELIST>
 
 <VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>-e, --interactive</TERM>
 <LISTITEM>
 <PARA>
Index: command/make.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/make.sgml,v
retrieving revision 1.6
diff -u -r1.6 make.sgml
--- command/make.sgml	15 Jul 2002 22:57:07 -0000	1.6
+++ command/make.sgml	20 Aug 2003 16:27:40 -0000
@@ -107,16 +107,6 @@
 </VARLISTENTRY>
 
 <VARLISTENTRY>
-<TERM>-v</TERM>
-<LISTITEM>
-<PARA>
-prints the version of the make program plus a copyright, a list of
-authors and a notice that there is no warranty.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>-w</TERM>
 <LISTITEM>
 <PARA>
Index: command/mkdir.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/mkdir.sgml,v
retrieving revision 1.4
diff -u -r1.4 mkdir.sgml
--- command/mkdir.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/mkdir.sgml	20 Aug 2003 16:27:40 -0000
@@ -35,15 +35,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/mv.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/mv.sgml,v
retrieving revision 1.4
diff -u -r1.4 mv.sgml
--- command/mv.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/mv.sgml	20 Aug 2003 16:27:41 -0000
@@ -90,15 +90,6 @@
 </listitem>
 </varlistentry>
 
-<varlistentry>
-<term>--version</term>
-<listitem>
-<para>
-outputs version information and exits.
-</para>
-</listitem>
-</varlistentry>
-
 </variablelist>
 </REFSECT1>
 
Index: command/nice.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/nice.sgml,v
retrieving revision 1.4
diff -u -r1.4 nice.sgml
--- command/nice.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/nice.sgml	20 Aug 2003 16:27:41 -0000
@@ -36,24 +36,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/nl.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/nl.sgml,v
retrieving revision 1.4
diff -u -r1.4 nl.sgml
--- command/nl.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/nl.sgml	20 Aug 2003 16:27:41 -0000
@@ -12,39 +12,8 @@
 <REFSECT1>
 <TITLE>Description</TITLE>
 <PARA>
-<COMMAND>nl</COMMAND> is as specified in the Single UNIX Specification but with
-differences as listed below.
+<COMMAND>nl</COMMAND> is as specified in the Single UNIX Specification.
 </PARA>
-</REFSECT1>
-
-<REFSECT1>
-<title>LSB Deprecated Differences</title>
-
-<para>The behaviors specified in this section are expected to
-disappear from a future version of the LSB; applications should only
-use the non-LSB-deprecated behaviors.</para>
-
-<VARIABLELIST>
-
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
 </REFSECT1>
 
 </REFENTRY>
Index: command/nohup.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/nohup.sgml,v
retrieving revision 1.4
diff -u -r1.4 nohup.sgml
--- command/nohup.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/nohup.sgml	20 Aug 2003 16:27:41 -0000
@@ -14,39 +14,8 @@
 <TITLE>Description</TITLE>
 <PARA>
 <COMMAND>nohup</COMMAND> is as specified in the Single UNIX
-Specification but with
-differences as listed below.
+Specification.
 </PARA>
-</REFSECT1>
-
-<REFSECT1>
-<title>LSB Deprecated Differences</title>
-
-<para>The behaviors specified in this section are expected to
-disappear from a future version of the LSB; applications should only
-use the non-LSB-deprecated behaviors.</para>
-
-<VARIABLELIST>
-
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
 </REFSECT1>
 
 </REFENTRY>
Index: command/od.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/od.sgml,v
retrieving revision 1.6
diff -u -r1.6 od.sgml
--- command/od.sgml	15 Jul 2002 22:57:07 -0000	1.6
+++ command/od.sgml	20 Aug 2003 16:27:41 -0000
@@ -98,36 +98,4 @@
 </VARIABLELIST>
 </REFSECT1>
 
-<REFSECT1>
-<TITLE>LSB Deprecated Differences</TITLE>
-
-<PARA>
-The behaviors specified in this section are expected to
-disappear from a future version of the LSB; applications should only
-use the non-LSB-deprecated behaviors.
-</PARA>
-
-<VARIABLELIST>
-
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</variablelist>
-</refsect1>
-
 </REFENTRY>
Index: command/paste.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/paste.sgml,v
retrieving revision 1.4
diff -u -r1.4 paste.sgml
--- command/paste.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/paste.sgml	20 Aug 2003 16:27:41 -0000
@@ -13,39 +13,8 @@
 <TITLE>Description</TITLE>
 <PARA>
 <COMMAND>paste</COMMAND> is as specified in the Single UNIX
-Specification but with
-differences as listed below.
+Specification.
 </PARA>
-</REFSECT1>
-
-<REFSECT1>
-<title>LSB Deprecated Differences</title>
-
-<para>The behaviors specified in this section are expected to
-disappear from a future version of the LSB; applications should only
-use the non-LSB-deprecated behaviors.</para>
-
-<VARIABLELIST>
-
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
 </REFSECT1>
 
 </REFENTRY>
Index: command/patch.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/patch.sgml,v
retrieving revision 1.6
diff -u -r1.6 patch.sgml
--- command/patch.sgml	15 Jul 2002 22:57:07 -0000	1.6
+++ command/patch.sgml	20 Aug 2003 16:27:41 -0000
@@ -172,15 +172,6 @@
 </VARLISTENTRY>
 
 <VARLISTENTRY>
-<TERM>-v, --version</TERM>
-<LISTITEM>
-<PARA>
-prints out patch's revision header and patch level, and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>-V method, --version-control=method</TERM>
 <LISTITEM>
 <PARA>
@@ -225,15 +216,6 @@
 <PARA>
 sets the modification and access times of patched files from time stamps
 given in context diff headers.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
 </PARA>
 </LISTITEM>
 </VARLISTENTRY>
Index: command/pathchk.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/pathchk.sgml,v
retrieving revision 1.4
diff -u -r1.4 pathchk.sgml
--- command/pathchk.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/pathchk.sgml	20 Aug 2003 16:27:41 -0000
@@ -13,39 +13,8 @@
 <TITLE>Description</TITLE>
 <PARA>
 <COMMAND>pathchk</COMMAND> is as specified in the Single UNIX
-Specification but with
-differences as listed below.
+Specification.
 </PARA>
-</REFSECT1>
-
-<REFSECT1>
-<title>LSB Deprecated Differences</title>
-
-<para>The behaviors specified in this section are expected to
-disappear from a future version of the LSB; applications should only
-use the non-LSB-deprecated behaviors.</para>
-
-<VARIABLELIST>
-
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
 </REFSECT1>
 
 </REFENTRY>
Index: command/pr.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/pr.sgml,v
retrieving revision 1.6
diff -u -r1.6 pr.sgml
--- command/pr.sgml	20 Nov 2002 16:15:44 -0000	1.6
+++ command/pr.sgml	20 Aug 2003 16:27:41 -0000
@@ -101,24 +101,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/printf.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/printf.sgml,v
retrieving revision 1.4
diff -u -r1.4 printf.sgml
--- command/printf.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/printf.sgml	20 Aug 2003 16:27:41 -0000
@@ -13,39 +13,8 @@
 <TITLE>Description</TITLE>
 <PARA>
 <COMMAND>printf</COMMAND> is as specified in the Single UNIX
-Specification but with
-differences as listed below.
+Specification.
 </PARA>
-</REFSECT1>
-
-<REFSECT1>
-<title>LSB Deprecated Differences</title>
-
-<para>The behaviors specified in this section are expected to
-disappear from a future version of the LSB; applications should only
-use the non-LSB-deprecated behaviors.</para>
-
-<VARIABLELIST>
-
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
 </REFSECT1>
 
 </REFENTRY>
Index: command/pwd.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/pwd.sgml,v
retrieving revision 1.4
diff -u -r1.4 pwd.sgml
--- command/pwd.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/pwd.sgml	20 Aug 2003 16:27:41 -0000
@@ -13,39 +13,8 @@
 <TITLE>Description</TITLE>
 <PARA>
 <COMMAND>pwd</COMMAND> is as specified in the Single UNIX
-Specification but with
-differences as listed below.
+Specification.
 </PARA>
-</REFSECT1>
-
-<REFSECT1>
-<title>LSB Deprecated Differences</title>
-
-<para>The behaviors specified in this section are expected to
-disappear from a future version of the LSB; applications should only
-use the non-LSB-deprecated behaviors.</para>
-
-<VARIABLELIST>
-
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-</VARIABLELIST>
 </REFSECT1>
 
 </REFENTRY>
Index: command/rm.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/rm.sgml,v
retrieving revision 1.5
diff -u -r1.5 rm.sgml
--- command/rm.sgml	15 Jul 2002 22:57:07 -0000	1.5
+++ command/rm.sgml	20 Aug 2003 16:27:41 -0000
@@ -35,24 +35,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/rmdir.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/rmdir.sgml,v
retrieving revision 1.4
diff -u -r1.4 rmdir.sgml
--- command/rmdir.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/rmdir.sgml	20 Aug 2003 16:27:41 -0000
@@ -45,24 +45,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--help</TERM>
-<LISTITEM>
-<PARA>
-displays this help and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/sed.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/sed.sgml,v
retrieving revision 1.5
diff -u -r1.5 sed.sgml
--- command/sed.sgml	6 Nov 2002 06:28:11 -0000	1.5
+++ command/sed.sgml	20 Aug 2003 16:27:41 -0000
@@ -35,16 +35,6 @@
 <VARIABLELIST>
 
 <VARLISTENTRY>
-<TERM>-V, --version</TERM>
-<LISTITEM>
-<PARA>
-prints out the version of sed that is being run and a copyright notice,
-then exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>--quiet, --silent</TERM>
 <LISTITEM>
 <PARA>
Index: command/sleep.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/sleep.sgml,v
retrieving revision 1.4
diff -u -r1.4 sleep.sgml
--- command/sleep.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/sleep.sgml	20 Aug 2003 16:27:41 -0000
@@ -39,27 +39,6 @@
 for minutes, h for hours or d for days.
 </PARA>
 
-<variablelist>
-
-<varlistentry>
-<term>--help</term>
-<listitem>
-<para>
-displays help and exits.
-</para>
-</listitem>
-</varlistentry>
-
-<varlistentry>
-<term>--version</term>
-<listitem>
-<para>
-outputs version information and exits.
-</para>
-</listitem>
-</varlistentry>
-
-</variablelist>
 </REFSECT1>
 
 </REFENTRY>
Index: command/sort.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/sort.sgml,v
retrieving revision 1.8
diff -u -r1.8 sort.sgml
--- command/sort.sgml	20 Nov 2002 16:15:44 -0000	1.8
+++ command/sort.sgml	20 Aug 2003 16:27:41 -0000
@@ -82,15 +82,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/split.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/split.sgml,v
retrieving revision 1.9
diff -u -r1.9 split.sgml
--- command/split.sgml	12 Aug 2003 21:34:14 -0000	1.9
+++ command/split.sgml	20 Aug 2003 16:27:41 -0000
@@ -85,15 +85,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/strip.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/strip.sgml,v
retrieving revision 1.4
diff -u -r1.4 strip.sgml
--- command/strip.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/strip.sgml	20 Aug 2003 16:27:41 -0000
@@ -174,15 +174,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-shows the version number for <COMMAND>strip</COMMAND> and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/sum.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/sum.sgml,v
retrieving revision 1.5
diff -u -r1.5 sum.sgml
--- command/sum.sgml	15 Jul 2002 22:57:07 -0000	1.5
+++ command/sum.sgml	20 Aug 2003 16:27:41 -0000
@@ -34,15 +34,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/sync.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/sync.sgml,v
retrieving revision 1.4
diff -u -r1.4 sync.sgml
--- command/sync.sgml	7 Jun 2002 22:18:14 -0000	1.4
+++ command/sync.sgml	20 Aug 2003 16:27:41 -0000
@@ -12,7 +12,7 @@
 
 <REFSYNOPSISDIV>
 <SYNOPSIS>
-sync [OPTION]
+sync
 </SYNOPSIS>
 </REFSYNOPSISDIV>
 
@@ -23,36 +23,6 @@
 Force changed blocks to disk, update the super block.
 </PARA>
 
-</REFSECT1>
-
-<REFSECT1>
-<title>LSB Deprecated Options</title>
-
-<para>The behaviors specified in this section are expected to
-disappear from a future version of the LSB; applications should only
-use the non-LSB-deprecated behaviors.</para>
-
-<variablelist>
-
-<varlistentry>
-<term>--help</term>
-<listitem>
-<para>
-displays help and exits.
-</para>
-</listitem>
-</varlistentry>
-
-<varlistentry>
-<term>--version</term>
-<listitem>
-<para>
-outputs version information and exits.
-</para>
-</listitem>
-</varlistentry>
-
-</variablelist>
 </REFSECT1>
 
 </REFENTRY>
Index: command/tar.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/tar.sgml,v
retrieving revision 1.8
diff -u -r1.8 tar.sgml
--- command/tar.sgml	12 Aug 2003 21:34:14 -0000	1.8
+++ command/tar.sgml	20 Aug 2003 16:27:41 -0000
@@ -455,15 +455,6 @@
 </VARLISTENTRY>
 
 <VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-prints tar program version number.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>-w, --interactive, --confirmation</TERM>
 <LISTITEM>
 <PARA>
Index: command/tee.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/tee.sgml,v
retrieving revision 1.4
diff -u -r1.4 tee.sgml
--- command/tee.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/tee.sgml	20 Aug 2003 16:27:41 -0000
@@ -44,15 +44,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/touch.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/touch.sgml,v
retrieving revision 1.4
diff -u -r1.4 touch.sgml
--- command/touch.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/touch.sgml	20 Aug 2003 16:27:41 -0000
@@ -63,15 +63,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/tr.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/tr.sgml,v
retrieving revision 1.4
diff -u -r1.4 tr.sgml
--- command/tr.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/tr.sgml	20 Aug 2003 16:27:41 -0000
@@ -61,15 +61,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/tty.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/tty.sgml,v
retrieving revision 1.4
diff -u -r1.4 tty.sgml
--- command/tty.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/tty.sgml	20 Aug 2003 16:27:41 -0000
@@ -53,15 +53,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/uname.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/uname.sgml,v
retrieving revision 1.4
diff -u -r1.4 uname.sgml
--- command/uname.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/uname.sgml	20 Aug 2003 16:27:41 -0000
@@ -97,15 +97,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/uniq.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/uniq.sgml,v
retrieving revision 1.4
diff -u -r1.4 uniq.sgml
--- command/uniq.sgml	15 Jul 2002 22:57:07 -0000	1.4
+++ command/uniq.sgml	20 Aug 2003 16:27:41 -0000
@@ -98,15 +98,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/wc.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/wc.sgml,v
retrieving revision 1.9
diff -u -r1.9 wc.sgml
--- command/wc.sgml	12 Aug 2003 21:34:14 -0000	1.9
+++ command/wc.sgml	20 Aug 2003 16:27:41 -0000
@@ -83,15 +83,6 @@
 </LISTITEM>
 </VARLISTENTRY>
 
-<VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-outputs version information and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
 </VARIABLELIST>
 </REFSECT1>
 
Index: command/xargs.sgml
===================================================================
RCS file: /cvsroot/lsb/lsbspec/gLSB/command/xargs.sgml,v
retrieving revision 1.7
diff -u -r1.7 xargs.sgml
--- command/xargs.sgml	20 Nov 2002 16:15:44 -0000	1.7
+++ command/xargs.sgml	20 Aug 2003 16:27:41 -0000
@@ -149,15 +149,6 @@
 </VARLISTENTRY>
 
 <VARLISTENTRY>
-<TERM>--version</TERM>
-<LISTITEM>
-<PARA>
-Prints the version number of <COMMAND>xargs</COMMAND> and exits.
-</PARA>
-</LISTITEM>
-</VARLISTENTRY>
-
-<VARLISTENTRY>
 <TERM>--exit</TERM>
 <LISTITEM>
 <PARA>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.