Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add apt-cyg search as option to more closely mirror apt-cache search #15

Closed
GoogleCodeExporter opened this issue Feb 24, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Here is a patch to allow users to apt-cyg search <packagename>, (in addition to 
apt-cyg find <packagename>). This more closely mirrors apt-cache search 
<packagename>.


What version of the product are you using? On what operating system?

apt-cyg version 0.57
Written by Stephen Jungels

Copyright (c) 2005-9 Stephen Jungels.  Released under the GPL.


Please provide any additional information below.

--- /tmp/apt-cyg        2010-04-27 13:55:43.315784000 -0500
+++ /bin/apt-cyg        2011-08-25 09:58:25.351912900 -0500
@@ -39,6 +39,7 @@
   echo "  \"apt-cyg update\" to update setup.ini"
   echo "  \"apt-cyg show\" to show installed packages"
   echo "  \"apt-cyg find <patterns>\" to find packages matching patterns"
+  echo "  \"apt-cyg search <patterns>\" to find packages matching patterns"
   echo "  \"apt-cyg describe <patterns>\" to describe packages matching patterns"
   echo "  \"apt-cyg packageof <commands or files>\" to locate parent packages"
   echo "Options:"
@@ -181,7 +182,7 @@
       shift
     ;;

-    update|show|find|describe|packageof|install|remove)
+    update|show|search|find|describe|packageof|install|remove)
       if test "-$command-" = "--"
       then
         command=$1
@@ -232,7 +233,7 @@
   ;;


-  find)
+  find|search)

     checkpackages
     findworkspace


Original issue reported on code.google.com by tan...@gmail.com on 25 Aug 2011 at 8:35

@GoogleCodeExporter
Copy link
Author

Original comment by i...@skl.me on 19 Feb 2014 at 8:47

  • Changed state: Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant