Portmaster 3.1 upgrade
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sun Oct 31 18:57:49 UTC 2010
On 31/10/2010 17:56, Freddie Cash wrote:
> The correct command is: pkg_delete -xf portmaster
>
> -x does name globbing internally to pkg_delete, and should be used
> over any shell globbing (like *).
>
So dogmatic. '-x' is one alternative. A globbing expression is
another. Either can be useful, and either should be used at will and as
circumstances warrant.
Also note that
pkg_delete -xf portmaster
is technically not equivalent to
pkg_delete -f portmaster\*
Instead it's equivalent to
pkg_delete -f \*portmaster\*
In this case it's an academic distinction because the results are
exactly the same. For some other terms, that is certainly not the case.
Eg. On my server at the moment:
pkg_info -Ix mysql
apr-ipv6-devrandom-db48-mysql51-1.4.2.1.3.10 Apache Portability Library
mysql-client-5.1.51_1 Multithreaded SQL database (client)
mysql-connector-java-5.1.12 MySQL Connector/J: JDBC interface for MySQL
mysql-scripts-5.1.51_1 Multithreaded SQL database (scripts)
mysql-server-5.1.51_1 Multithreaded SQL database (server)
mysqltuner-1.1.0 A Script Assist You with MySQL Configuration
p5-DBD-mysql-4.017 MySQL driver for the Perl5 Database Interface (DBI)
php5-mysql-5.3.3_2 The mysql shared extension for php
php5-mysqli-5.3.3_2 The mysqli shared extension for php
Compare with:
% pkg_info -I mysql\*
mysql-client-5.1.51_1 Multithreaded SQL database (client)
mysql-connector-java-5.1.12 MySQL Connector/J: JDBC interface for MySQL
mysql-scripts-5.1.51_1 Multithreaded SQL database (scripts)
mysql-server-5.1.51_1 Multithreaded SQL database (server)
mysqltuner-1.1.0 A Script Assist You with MySQL Configuration
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20101031/28990b6f/signature.pgp
More information about the freebsd-ports
mailing list