File zsh-4.3.10-doc_intro_paths.patch of Package zsh

--- Doc/intro.ms
+++ Doc/intro.ms
@@ -516,13 +516,13 @@
 %\0ed\0/tmp/funs/yp
 25
 i
-#!\0/usr/local/bin/zsh
+#!\0/usr/bin/zsh
 .
 w
 42
 q
 %\0</tmp/funs/yp
-#!\0/usr/local/bin/zsh
+#!\0/usr/bin/zsh
 ypmatch\0$1\0passwd.byname
 %\0/tmp/funs/yp\0sukthnkr
 sukthnkr:*:1267:35:Rahul\0Sukthankar:/u/sukthnkr:/usr/bin/bin/tcsh
@@ -1153,7 +1153,7 @@
 There are several ways to manipulate history in \fBzsh\fP.
 One way is to use csh-style \fC!\fP history:
 .Ds
-%\0/usr/local/bin/!:0\0!-2*:s/foo/bar/\0>>!$
+%\0/usr/bin/!:0\0!-2*:s/foo/bar/\0>>!$
 .De
 If you don't want to use this, you can turn it off
 by typing \fCsetopt nobanghist\fP.  If you are afraid of accidentally
@@ -1191,9 +1191,9 @@
 In this example, no event designator was used, which tells \fBzsh\fP
 to use the previous command.  A \fC$\fP specifies the last argument
 .Ds
-%\0mkdir\0/usr/local/lib/emacs/site-lisp/calc
+%\0mkdir\0/usr/share/emacs/site-lisp/calc
 %\0cd\0!:$
-cd\0/usr/local/lib/emacs/site-lisp/calc
+cd\0/usr/share/emacs/site-lisp/calc
 .De
 If you use more words of the same command, only the first \fC!\fP
 needs an event designator.
--- Test/E01options.ztst
+++ Test/E01options.ztst
@@ -116,7 +116,7 @@
 >scalar
   
   # Count the number of directories on the stack.  Don't care what they are.
-  dircount() { dirs -v | tail -1 | awk '{ print $1 + 1}'; }
+  dircount() { dirs -v | tail -n 1 | awk '{ print $1 + 1}'; }
   unsetopt autopushd
   cd tmpcd
   dircount
openSUSE Build Service is sponsored by