upgrade perlu

Jan Blaha Jan.Blaha at unet.cz
Wed Feb 9 19:43:47 CET 2005


On  5.02 16:14, Vaclav Rehak wrote:
> /usr/ports/UPDATING
>     * run some magic incantations to upgrade all ports depending on perl,
>       that is run something like :
>       portupgrade -f `(pkg_info -R perl-5\* |tail +4; \
>         find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \
>         | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`

Dumam nad tim, jak se tohle lisi od 'portupgrade -f -r perl' a krome
vyssiho umeleckeho dojmu -- a ucebnicoveho pouziti find, xargs, sed a
sort v jednom radku -- me nenapada nic...



More information about the Users-l mailing list