A plain "grep" won't catch all matches when looking for ports by name.
Case-insensitive search might save a few users from wondering why their freshly installed XFree86 port doesn't show up in the output if they type the entire name in lowercase.
This commit is contained in:
parent
520cdff890
commit
4b85cf238d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=17035
1 changed files with 1 additions and 1 deletions
|
@ -1131,7 +1131,7 @@ Receiving lsof_4.57D.freebsd.tar.gz (439860 bytes): 100%
|
|||
<para>If you are not sure which version of the application was
|
||||
just installed, a command like this</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pkg_info | grep <replaceable>foopackage</replaceable></userinput></screen>
|
||||
<screen>&prompt.root; <userinput>pkg_info | grep -i <replaceable>foopackage</replaceable></userinput></screen>
|
||||
|
||||
<para>will find all the installed packages that have
|
||||
<replaceable>foopackage</replaceable> in the package name.
|
||||
|
|
Loading…
Reference in a new issue