diff -ur bash-3.2.orig/doc/bash.1 bash-3.2.new/doc/bash.1 --- bash-3.2.orig/doc/bash.1 2006-10-03 14:54:26.000000000 +0200 +++ bash-3.2.new/doc/bash.1 2006-11-25 16:56:15.000000000 +0100 @@ -6527,18 +6527,6 @@ .RS .PD 0 .TP -\fB+\fP\fIn\fP -Displays the \fIn\fPth entry counting from the left of the list -shown by -.B dirs -when invoked without options, starting with zero. -.TP -\fB\-\fP\fIn\fP -Displays the \fIn\fPth entry counting from the right of the list -shown by -.B dirs -when invoked without options, starting with zero. -.TP .B \-c Clears the directory stack by deleting all of the entries. .TP @@ -6552,6 +6540,18 @@ .B \-v Print the directory stack with one entry per line, prefixing each entry with its index in the stack. +.TP +\fB+\fP\fIn\fP +Displays the \fIn\fPth entry counting from the left of the list +shown by +.B dirs +when invoked without options, starting with zero. +.TP +\fB\-\fP\fIn\fP +Displays the \fIn\fPth entry counting from the right of the list +shown by +.B dirs +when invoked without options, starting with zero. .PD .PP The return value is 0 unless an @@ -7268,6 +7268,10 @@ .RS .PD 0 .TP +.B \-n +Suppresses the normal change of directory when removing directories +from the stack, so that only the stack is manipulated. +.TP \fB+\fP\fIn\fP Removes the \fIn\fPth entry counting from the left of the list shown by @@ -7291,10 +7295,6 @@ .if n ``popd -1'' .if t \f(CWpopd -1\fP the next to last. -.TP -.B \-n -Suppresses the normal change of directory when removing directories -from the stack, so that only the stack is manipulated. .PD .PP If the @@ -7346,6 +7346,16 @@ .RS .PD 0 .TP +.B \-n +Suppresses the normal change of directory when adding directories +to the stack, so that only the stack is manipulated. +.TP +.I dir +Adds +.I dir +to the directory stack at the top, making it the +new current working directory. +.TP \fB+\fP\fIn\fP Rotates the stack so that the \fIn\fPth directory (counting from the left of the list shown by @@ -7358,16 +7368,6 @@ (counting from the right of the list shown by .BR dirs , starting with zero) is at the top. -.TP -.B \-n -Suppresses the normal change of directory when adding directories -to the stack, so that only the stack is manipulated. -.TP -.I dir -Adds -.I dir -to the directory stack at the top, making it the -new current working directory. .PD .PP If the