Main > Programming > Libraries >

Compress::BraceExpansion 0.1.3

Compress::BraceExpansion 0.1.3

Sponsored Links

Compress::BraceExpansion 0.1.3 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.011 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 974
Date added: 2007-02-23
Publisher: Alex White

Compress::BraceExpansion 0.1.3 description

Compress::BraceExpansion is a Perl module to create a human-readable compressed string suitable for shell brace expansion.

SYNOPSIS

use Compress::BraceExpansion;

# output: ab{c,d}
print Compress::BraceExpansion->new( qw( abc abd ) )->shrink();

# output: aabb{cc,dd}
print Compress::BraceExpansion->new( qw( aabbcc aabbdd ) )->shrink();

# output: aa{bb{cc,dd},eeff}
print Compress::BraceExpansion->new( qw( aabbcc aabbdd aaeeff ) )->shrink();

Shells such as bash and zsh have a feature call brace expansion. These allow users to specify an expression to generate a series of strings that contain similar patterns. For example:

$ echo a{b,c}
ab ac

$ echo aa{bb,xx}cc
aabbcc aaxxcc

$ echo a{b,x}c{d,y}e
abcde abcye axcde axcye

$ echo a{b,x{y,z}}c
abc axyc axzc

This module was designed to take a list of strings with similar patterns (e.g. the output of a shell expansion) and generate the un-expanded expression. Given a reasonably sized array of similar strings, this module will generate a single compressed string that can be comfortably parsed by a human.
The current algorithm is most efficient if groups of the input strings start with or end with similar characters. See BUGS AND LIMITATIONS section for more details.

Compress::BraceExpansion 0.1.3 Screenshot

Advertisements

Compress::BraceExpansion 0.1.3 Keywords

Bookmark Compress::BraceExpansion 0.1.3

Hyperlink code:
Link for forum:

Compress::BraceExpansion 0.1.3 Copyright

WareSeeker periodically updates pricing and software information of Compress::BraceExpansion 0.1.3 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Compress::BraceExpansion 0.1.3 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Compress::LZW is a pure perl implementation of LZW. Free Download
Parallel::Workers::Transaction is a simple Perl module. Free Download
brace is a dialect of C that looks a bit like Python. Free Download
Math::Complex is a Perl module with complex numbers and associated mathematical functions. Free Download
PerlIO is a Perl module created to load on demand PerlIO layers and root of PerlIO::* name space. Free Download
Convert::Braille is a Perl module that can convert Between Braille Encodings. Free Download
CAD::Drawing::IO::Compressed is a Perl module to load and save compressed data. Free Download
Contextual::Return::Failure is a Perl module with a utility module for Contextual::Return. Free Download