BSD Ports

textproc/rubygem-abbrev 0.1.2 DragonFly

Calculate a set of unique abbreviations for a given set of strings

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE, RUBY
Categories
rubygems, textproc
Package size
5.9 KiB, 14.1 KiB installed

Description

Given a set of strings, Abbrev calculates the set of unambiguous abbreviations for those strings, and returns a hash where the keys are all the possible abbreviations and the values are the full strings.

Thus, given words is "car" and "cone", the keys pointing to "car" would be "ca" and "car", while those pointing to "cone" would be "co", "con", and "cone".

In the other systems

SystemPortVersion
DragonFlytextproc/rubygem-abbrev0.1.2
FreeBSDtextproc/rubygem-abbrev0.1.2

Install

Binary package:

pkg install rubygem-abbrev

From DPorts:

cd /usr/dports/textproc/rubygem-abbrev && make install clean

Dependencies

Run dependencies 2

No port depends on this one.