The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Acme::MetaSyntactic::services - The services theme

DESCRIPTION

The names of the services usually found in /etc/services.

The first list came from my Debian system and was extracted with:

    perl -lane '$_=$F[0];y/-/_/;!/#/&&!$s{$_}++&&print' /etc/services

Which was then golfed down to:

    perl -lane '$_=$F[0];y/-/_/;!/#/&&$s{$_}++||print' /etc/services
    perl -lane '$_=$F[0];y/-/_/;/#/||$s{$_}++||print' /etc/services
    perl -ne 's/\s.*//;y/-/_/;/#/||$s{$_}++||print' /etc/services
    perl -pe 's/[#\s].*//;y/-/_/;$s{$_}++&&goto LINE' /etc/services
    perl -ne 's/[#\s].*//;y/-/_/;$s{$_}++||print' /etc/services

For version 0.68, this was golfed a little more, by using the symbol table as the hash table it is:

    perl -ne 's/[#\s].*//;y/-/_/;$$_++||print' /etc/services

The reference list is given by the IANA, and available at http://www.iana.org/assignments/port-numbers.

A bigger services lists is used by nmap: http://www.insecure.org/nmap/data/nmap-services. This list is used to update the theme.

CONTRIBUTOR

Philippe "BooK" Bruhat.

CHANGES

  • 2021-04-30 - v1.008

    Updated from the source web site in Acme-MetaSyntactic-Themes version 1.055.

  • 2019-07-29 - v1.007

    Updated from the source web site in Acme-MetaSyntactic-Themes version 1.053.

  • 2018-10-29 - v1.006

    Updated from the source web site in Acme-MetaSyntactic-Themes version 1.052.

  • 2017-06-12 - v1.005

    Updated from the source web site in Acme-MetaSyntactic-Themes version 1.050.

  • 2015-10-19 - v1.004

    Updated from the source web site in Acme-MetaSyntactic-Themes version 1.048.

  • 2015-06-08 - v1.003

    Updated from the source web site in Acme-MetaSyntactic-Themes version 1.046.

  • 2014-10-13 - v1.002

    Updated from the source web site in Acme-MetaSyntactic-Themes version 1.043.

  • 2014-08-18 - v1.001

    Changed the source link to use the services list from nmap, as the graffiti.com site seems to have disappeared.

    Updated from the source web site in Acme-MetaSyntactic-Themes version 1.041.

  • 2012-05-07 - v1.000

    Received its own version number in Acme-MetaSyntactic-Themes version 1.000.

  • 2006-07-24

    Updated with a link to the IANA list in Acme-MetaSyntactic version 0.84.

  • 2006-04-03

    Updated and made automatically updatable with the graffiti.com list in Acme-MetaSyntactic version 0.68.

    This increased the theme size by a factor of 14.

  • 2005-08-01

    Introduced in Acme-MetaSyntactic version 0.33, published on August 1, 2005.

    I got the idea for this list on IRC, on the day it was published.

SEE ALSO

Acme::MetaSyntactic, Acme::MetaSyntactic::List.