FreeBSD Bugzilla – Attachment 129662 Details for
Bug 173704
[PATCH] Addition to port searching feature - quicksearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
diff.txt
diff.txt (text/plain), 2.21 KB, created by
Edward
on 2012-11-18 16:50:01 UTC
(
hide
)
Description:
diff.txt
Filename:
MIME Type:
Creator:
Edward
Created:
2012-11-18 16:50:01 UTC
Size:
2.21 KB
patch
obsolete
>--- chapter.xml.original 2012-11-18 01:38:13.000000000 +0800 >+++ chapter.xml 2012-11-19 00:15:49.000000000 +0800 >@@ -349,19 +349,32 @@ > provided is not needed in order to install the port, so it > will not be covered here.</para> > >+ <para>Alternatively, there is another search feature from ports that >+ achieves the same purpose but with less noise, the >+ <command>quicksearch</command> feature. This feature accepts the same >+ parameter as the <command>search</command> feature. For example, >+ searching for <command>lsof</command> would return:</para> >+ >+ <screen>&prompt.root; <userinput>cd /usr/ports</userinput> >+&prompt.root; <userinput>make quicksearch name=lsof</userinput> >+Port: lsof-4.87.a,7 >+Path: /usr/ports/sysutils/lsof >+Info: Lists information about open files (similar to fstat(1))</screen> >+ > <para>For more in-depth searching you can also use > <command>make <maketarget>search</maketarget> >- key=<replaceable>string</replaceable></command> where >- <replaceable>string</replaceable> is some text to search >- for. This searches port names, comments, descriptions and >- dependencies and can be used to find ports which relate to a >- particular subject if you do not know the name of the >- program you are looking for.</para> >- >- <para>In both of these cases, the search string is >- case-insensitive. Searching for <quote>LSOF</quote> will >- yield the same results as searching for >- <quote>lsof</quote>.</para> >+ key=<replaceable>string</replaceable></command> or <command>make >+ <maketarget>quicksearch</maketarget> >+ key=<replaceable>string</replaceable></command>, where >+ <replaceable>string</replaceable> is some text to search for. This >+ searches port names, comments, descriptions and dependencies and can be >+ used to find ports which relate to a particular subject if you do not >+ know the name of the program you are looking for.</para> >+ >+ <para>In both of these cases (<maketarget>search</maketarget> and >+ <maketarget>quicksearch</maketarget>), the search string is >+ case-insensitive. Searching for <quote>LSOF</quote> will yield the same >+ results as searching for <quote>lsof</quote>.</para> > </listitem> > </itemizedlist> > </sect1>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 173704
: 129662