14 lines
432 B
Diff
14 lines
432 B
Diff
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
|