Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2010 18:57:36 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        FreeBSD Ports Mailing List <ports@freebsd.org>
Subject:   Re: Portmaster 3.1 upgrade
Message-ID:  <4CCDBC20.10102@infracaninophile.co.uk>
In-Reply-To: <AANLkTim75-0AoGuTaptR5MRChbXWFpe0kgmXieKFxY6X@mail.gmail.com>
References:  <AANLkTimKKVeR_EsoDQv_3r%2B8hdh%2Ba9K_bAxWx4qi_cgW@mail.gmail.com> <AANLkTim75-0AoGuTaptR5MRChbXWFpe0kgmXieKFxY6X@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0B1F8907D88ACD20FC8B6C40
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 31/10/2010 17:56, Freddie Cash wrote:
> The correct command is:  pkg_delete -xf portmaster
>=20
> -x does name globbing internally to pkg_delete, and should be used
> over any shell globbing (like *).
>=20

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

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enig0B1F8907D88ACD20FC8B6C40
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzNvCcACgkQ8Mjk52CukIwDEACfcb9M84x1amhfxoO8qL6VNcXG
RboAnirYm1zATT1gbVssIATs/axwYG/V
=qnCr
-----END PGP SIGNATURE-----

--------------enig0B1F8907D88ACD20FC8B6C40--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CCDBC20.10102>