File zsh-4.2.5-tailsyntax.diff of Package zsh

Index: Test/E01options.ztst
===================================================================
--- Test/E01options.ztst.orig
+++ 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