perl-Text-ASCIIPipe-1.1.0-7.mga6.noarch.rpm


Advertisement

Description

perl-Text-ASCIIPipe - Helper for processing multiple text files in a stream (through a pipe, usually)

Property Value
Distribution Mageia 6.1
Repository Mageia Core x86_64
Package name perl-Text-ASCIIPipe
Package version 1.1.0
Package release 7.mga6
Package architecture noarch
Package type rpm
Installed size 22.01 KB
Download size 20.97 KB
Official Mirror distrib-coffee.ipsl.jussieu.fr
A lot of the speed penalty of Perl when processing multiple smallish data
sets from/to text form in a shell loop consists of the repeated perl
compiler startup / script compilation, which accumulates when looping over
a set of files. This process can be sped up a lot by keeping the pipe alive
and streaming the whole file set through it once. This module helps you
with that. Of course, a pipe of several scripts parsing/producing text will
still be slower than a custom C program that does the job, but with this
trick of avoiding repeated script interpretation/compilation, the margin is
a lot smaller.
When dealing with ASCII-based text files (or UTF-8, if you please), there
are some control characters that just make sense for pushing several files
as a stream, separated by these characters. These are character codes 2
(STX, start of text), 3 (EOT, end of text) and 4 (ETX, end of
transmission). All this module does is provide a wrapper for inserting
these control characters for the sender and parsing them for the receiver.
Nothing fancy, really. I just got fed up writing the same loop over and
over again. It works with all textual data that does not contain control
characters below decimal code 5.
The process() function itself tries to employ a bit of smartness regarding
buffering of the output. Since the actual operation of multiple
ASCIIPipe-using programs in a, well, pipe, might conflict with the default
buffering of the output stream (STDOUT), process() disables buffering on
the output whenever it encounters the first STX. This mirrors the code this
module has been pulled from: It made sense there, enabling the last
consumer in the pipe to get the end of a file in time and act on that
information. This behaviour can be turned off by giving flush=>0 as
parameter.

Alternatives

Package Version Architecture Repository
perl-Text-ASCIIPipe-1.1.0-7.mga6.noarch.rpm 1.1.0 noarch Mageia Core
perl-Text-ASCIIPipe - - -

Requires

Name Value
perl(File::Spec) -
perl(FindBin) -
perl(Test::More) -
perl(Text::ASCIIPipe) -
perl(lib) -
perl(strict) -
perl-base >= 2:5.22.2

Provides

Name Value
perl(Text::ASCIIPipe) == 1.1.0
perl-Text-ASCIIPipe == 1.1.0-7.mga6

Download

Type URL
Binary Package perl-Text-ASCIIPipe-1.1.0-7.mga6.noarch.rpm
Source Package perl-Text-ASCIIPipe-1.1.0-7.mga6.src.rpm

Install Howto

  1. Enable Mageia Core repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Text-ASCIIPipe rpm package:
    # urpmi perl-Text-ASCIIPipe

Files

Path
/usr/bin/asciipipe_in
/usr/bin/asciipipe_out
/usr/lib/perl5/vendor_perl/5.22.2/Text/ASCIIPipe.pm
/usr/share/doc/perl-Text-ASCIIPipe/Changes
/usr/share/doc/perl-Text-ASCIIPipe/META.json
/usr/share/doc/perl-Text-ASCIIPipe/META.yml
/usr/share/doc/perl-Text-ASCIIPipe/MYMETA.yml
/usr/share/doc/perl-Text-ASCIIPipe/README
/usr/share/man/man3/Text::ASCIIPipe.3pm.xz

Changelog

2016-06-19 - pterjan <pterjan> 1.1.0-7.mga6
+ Revision: 1034894
- Rebuild for perl 5.22.2
2016-02-08 - umeabot <umeabot> 1.1.0-6.mga6
+ Revision: 943229
- Mageia 6 Mass Rebuild
2014-10-15 - umeabot <umeabot> 1.1.0-5.mga5
+ Revision: 750465
- Second Mageia 5 Mass Rebuild
2014-09-16 - umeabot <umeabot> 1.1.0-4.mga5
+ Revision: 686591
- Mageia 5 Mass Rebuild
2013-10-18 - umeabot <umeabot> 1.1.0-3.mga4
+ Revision: 515407
- Mageia 4 Mass Rebuild

See Also

Package Description
perl-Text-ASCIITable-0.200.0-10.mga6.noarch.rpm Create a nice formatted table using ASCII characters
perl-Text-Abbrev-1.20.0-7.mga6.noarch.rpm Builds hash of all possible abbreviations
perl-Text-Aligner-0.130.0-1.mga6.noarch.rpm No summary found
perl-Text-Aspell-0.90.0-15.mga6.x86_64.rpm Perl interface to the GNU Aspell library
perl-Text-Autoformat-1.740.0-2.mga6.noarch.rpm Automatic text wrapping and reformatting
perl-Text-Balanced-2.30.0-3.mga6.noarch.rpm Extract balanced-delimiter substrings
perl-Text-BibTeX-0.720.0-1.mga6.x86_64.rpm Interface to read and parse BibTeX files
perl-Text-Brew-0.20.0-7.mga6.noarch.rpm An implementation of the Brew edit distance
perl-Text-CSV-1.330.0-3.mga6.noarch.rpm Manipulate comma-separated value strings
perl-Text-CSV-Slurp-1.30.0-2.mga6.noarch.rpm Convert CSV into an array of hashes, or an array of hashes into CSV
perl-Text-CSV_XS-1.220.0-2.mga6.x86_64.rpm Comma-separated values manipulation routines
perl-Text-Caml-0.140.0-2.mga6.noarch.rpm Mustache template engine
perl-Text-CharWidth-0.40.0-15.mga6.x86_64.rpm Text-CharWidth module for perl
perl-Text-Clip-0.1.400-5.mga6.noarch.rpm Clip and extract text in clipboard-like way
perl-Text-Conjunct-1.0.0-7.mga6.noarch.rpm Join lists of items together
Advertisement
Advertisement