Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

patch to _diff_options for Solaris



The attached patch allows "diff -u" to be recognized not just on Solaris
9, but on Solaris 9 and up (it breaks on 10).

Thanks,
Danek
--- zsh-4.2.0/Completion/Unix/Type/_diff_options.orig	Fri Nov 14 03:56:56 2003
+++ zsh-4.2.0/Completion/Unix/Type/_diff_options	Fri Mar 19 13:07:38 2004
@@ -103,7 +103,7 @@
     "$@"
 else
   case $OSTYPE in
-    solaris2.9)
+    solaris2.<9->)
       args=( '(-c -e -f -C)-u[output a unified diff]' )
     ;&
     solaris*)


Messages sorted by: Reverse Date, Date, Thread, Author